void writeData(hazelcast::client::serialization::ObjectDataOutput &out) const {
     out.writeInt((int) attributes.size());
     for (std::map<std::string, std::string>::const_iterator it = attributes.begin();
          it != attributes.end(); ++it) {
         out.writeUTF(&it->first);
         out.writeUTF(&it->second);
     }
 }
Пример #2
0
 void writeData(hazelcast::client::serialization::ObjectDataOutput &out) const {
     out.writeUTF(name.get());
 }
Пример #3
0
 void write(hazelcast::client::serialization::ObjectDataOutput & out, const Person& object) {
     out.writeInt(666);
     out.writeUTF(&(object.getName()));
     out.writeInt(666);
 }
Пример #4
0
 void writeData(hazelcast::client::serialization::ObjectDataOutput &out) const {
     out.writeUTF(name.get());
     out.writeBoolean(male);
     out.writeInt(age);
 }