Hazelcast C++ Client
 All Classes Functions Variables Enumerations Pages
Public Member Functions | List of all members
hazelcast::client::serialization::IdentifiedDataSerializable Class Referenceabstract

Classes that will be used with hazelcast data structures like IMap, IQueue etc should either inherit from one of the following classes : Portable , IdentifiedDataSerializable or it should be custom serializable. More...

#include <IdentifiedDataSerializable.h>

+ Inheritance diagram for hazelcast::client::serialization::IdentifiedDataSerializable:

Public Member Functions

virtual ~IdentifiedDataSerializable ()
 Destructor.
 
virtual int getFactoryId () const =0
 
virtual int getClassId () const =0
 
virtual void writeData (ObjectDataOutput &writer) const =0
 Defines how this class will be written. More...
 
virtual void readData (ObjectDataInput &reader)=0
 Defines how this class will be read. More...
 

Detailed Description

Classes that will be used with hazelcast data structures like IMap, IQueue etc should either inherit from one of the following classes : Portable , IdentifiedDataSerializable or it should be custom serializable.

For custom serializable see Serializer

Note that: factoryId and classId of the same class in server side should be consistent with each other.

See Also
Portable

Member Function Documentation

virtual int hazelcast::client::serialization::IdentifiedDataSerializable::getClassId ( ) const
pure virtual
virtual int hazelcast::client::serialization::IdentifiedDataSerializable::getFactoryId ( ) const
pure virtual
virtual void hazelcast::client::serialization::IdentifiedDataSerializable::readData ( ObjectDataInput reader)
pure virtual
virtual void hazelcast::client::serialization::IdentifiedDataSerializable::writeData ( ObjectDataOutput writer) const
pure virtual

The documentation for this class was generated from the following file: