22 #ifndef HAZELCAST_TYPE_SERIALIZER
23 #define HAZELCAST_TYPE_SERIALIZER
25 #include "hazelcast/util/HazelcastDll.h"
29 namespace serialization {
30 class ObjectDataOutput;
32 class ObjectDataInput;
52 virtual int getTypeId()
const = 0;
101 template <
typename Serializable>
132 #endif //HAZELCAST_TYPE_SERIALIZER
virtual ~Serializer()
Destructor.
Definition: Serializer.h:107
Internal Base class for Serializers.
Definition: Serializer.h:37
Base class for custom serialization.
Definition: Serializer.h:102
virtual void read(ObjectDataInput &in, Serializable &object)=0
Reads object from objectDataInputStream.
Provides serialization methods for primitive types,a arrays of primitive types, Portable, IdentifiedDataSerializable and custom serializables.
Definition: ObjectDataOutput.h:53
virtual void write(ObjectDataOutput &out, const Serializable &object)=0
This method writes object to ObjectDataOutput.