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