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