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