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);
     }
 }
Exemplo n.º 2
0
 void writeData(hazelcast::client::serialization::ObjectDataOutput &out) const {
     out.writeUTF(name.get());
 }
Exemplo n.º 3
0
 void write(hazelcast::client::serialization::ObjectDataOutput & out, const Person& object) {
     out.writeInt(666);
     out.writeUTF(&(object.getName()));
     out.writeInt(666);
 }
Exemplo n.º 4
0
 void writeData(hazelcast::client::serialization::ObjectDataOutput &out) const {
     out.writeUTF(name.get());
     out.writeBoolean(male);
     out.writeInt(age);
 }