19 #ifndef HAZELCAST_TYPE_SERIALIZER
20 #define HAZELCAST_TYPE_SERIALIZER
22 #include "hazelcast/util/HazelcastDll.h"
26 namespace serialization {
27 class ObjectDataOutput;
29 class ObjectDataInput;
50 virtual int getHazelcastTypeId()
const = 0;
107 template <
typename Serializable>
138 #endif //HAZELCAST_TYPE_SERIALIZER
virtual ~Serializer()
Destructor.
Definition: Serializer.h:113
Internal Base class for Serializers.
Definition: Serializer.h:34
Base class for custom serialization.
Definition: Serializer.h:108
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:51
virtual void write(ObjectDataOutput &out, const Serializable &object)=0
This method writes object to ObjectDataOutput.