Apache Geode Native .NET Reference 1.15.0
|
The IPdxSerializer interface allows domain classes to be serialized and deserialized as PDXs without modification of the domain class. More...
#include <IPdxSerializer.hpp>
Inherited by Apache::Geode::Client::ReflectionBasedAutoSerializer.
Public Member Functions | |
Object ^ | FromData (String^ classname, IPdxReader^ reader) |
Deserialize this object. More... | |
bool | ToData (Object^ o, IPdxWriter^ writer) |
Serializes this object in geode PDX format. More... | |
The IPdxSerializer interface allows domain classes to be serialized and deserialized as PDXs without modification of the domain class.
A domain class should register delgate Serializable.RegisterPdxType to create new instance of type for de-serilization.
Object ^ Apache::Geode::Client::IPdxSerializer::FromData | ( | String^ | classname, |
IPdxReader^ | reader | ||
) |
Deserialize this object.
classname | the classname whose object need to de-serialize |
reader | the IPdxReader stream to use for reading the object data |
Implemented in Apache::Geode::Client::ReflectionBasedAutoSerializer.
bool Apache::Geode::Client::IPdxSerializer::ToData | ( | Object^ | o, |
IPdxWriter^ | writer | ||
) |
Serializes this object in geode PDX format.
o | the object which need to serialize |
writer | the IPdxWriter object to use for serializing the object |
Implemented in Apache::Geode::Client::ReflectionBasedAutoSerializer.