Hazelcast C++ Client
Public Member Functions | List of all members
hazelcast::client::serialization::SerializerBase Class Referenceabstract

This is an internal class !!!! Do not use. More...

#include <Serializer.h>

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

Public Member Functions

virtual int32_t getHazelcastTypeId () const =0
 unique type id for this serializer. More...
 
virtual void destroy ()
 Called when instance is shutting down. More...
 

Detailed Description

This is an internal class !!!! Do not use.

Member Function Documentation

void hazelcast::client::serialization::SerializerBase::destroy ( )
virtual

Called when instance is shutting down.

It can be used to clear used resources.

virtual int32_t hazelcast::client::serialization::SerializerBase::getHazelcastTypeId ( ) const
pure virtual

unique type id for this serializer.

It will be used to decide which serializer needs to be used for your classes. Also note that for your serialized classes you need to implement the following free function in same namespace with your class (except when you want to use the global serializer for your class)

 int32_t getHazelcastTypeId(const MyClass*);

which should return same id with its serializer. User type ids always needs to be non-negative.


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