21 #ifndef HAZELCAST_SerializationConfig
22 #define HAZELCAST_SerializationConfig
24 #include <boost/shared_ptr.hpp>
28 #include "hazelcast/util/HazelcastDll.h"
29 #include "hazelcast/client/serialization/Serializer.h"
30 #include "hazelcast/client/serialization/DataSerializableFactory.h"
31 #include "hazelcast/client/serialization/PortableFactory.h"
33 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
35 #pragma warning(disable: 4251) //for dll export
40 namespace serialization{
64 int getPortableVersion()
const;
77 std::vector<boost::shared_ptr<serialization::SerializerBase> >
const &getSerializers()
const;
87 SerializationConfig& registerSerializer(boost::shared_ptr<serialization::SerializerBase> serializer);
96 SerializationConfig& registerSerializer(boost::shared_ptr<serialization::StreamSerializer> serializer);
105 boost::shared_ptr<serialization::DataSerializableFactory> dataSerializableFactory);
114 addPortableFactory(int32_t factoryId, boost::shared_ptr<serialization::PortableFactory> portableFactory);
116 const std::map<int32_t, boost::shared_ptr<serialization::DataSerializableFactory> > &
117 getDataSerializableFactories()
const;
119 const std::map<int32_t, boost::shared_ptr<serialization::PortableFactory> > &getPortableFactories()
const;
123 std::vector<boost::shared_ptr<serialization::SerializerBase> > serializers;
124 std::map<int32_t, boost::shared_ptr<serialization::DataSerializableFactory> > dataSerializableFactories;
125 std::map<int32_t, boost::shared_ptr<serialization::PortableFactory> > portableFactories;
130 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
134 #endif //HAZELCAST_SerializationConfig
SerializationConfig is used to.
Definition: SerializationConfig.h:49
Definition: MapEntryView.h:32