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

PortableFactory is used to create Portable instances during de-serialization. More...

#include <PortableFactory.h>

Public Member Functions

virtual std::auto_ptr< Portablecreate (int32_t classId) const =0
 Creates a Portable instance using given class ID. More...
 

Detailed Description

PortableFactory is used to create Portable instances during de-serialization.

You should implement this interface as copyable since it will be copied into the SerializationConfig.

See also
Portable
VersionedPortable

Member Function Documentation

◆ create()

virtual std::auto_ptr<Portable> hazelcast::client::serialization::PortableFactory::create ( int32_t  classId) const
pure virtual

Creates a Portable instance using given class ID.

Parameters
classIdportable class ID
Returns
portable instance or null if class ID is not known by this factory

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