19 #ifndef HAZELCAST_TYPE_SERIALIZER
20 #define HAZELCAST_TYPE_SERIALIZER
24 #include "hazelcast/util/HazelcastDll.h"
28 namespace serialization {
29 class ObjectDataOutput;
31 class ObjectDataInput;
52 virtual int32_t getHazelcastTypeId()
const = 0;
109 template <
typename Serializable>
139 #endif //HAZELCAST_TYPE_SERIALIZER
virtual ~Serializer()
Destructor.
Definition: Serializer.h:115
Internal Base class for Serializers.
Definition: Serializer.h:36
Base class for custom serialization.
Definition: Serializer.h:110
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:52
virtual void write(ObjectDataOutput &out, const Serializable &object)=0
This method writes object to ObjectDataOutput.