VMware GemFire Native Client .NET Framework API Reference
|
VMware VMware GemFire Native .NET Reference 10.4.3
|
Loading...
Searching...
No Matches
Apache::Geode::Client::IPdxSerializer Interface Reference
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. | |
| bool | ToData (Object^ o, IPdxWriter^ writer) |
| Serializes this object in geode PDX format. | |
Detailed Description
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.
Member Function Documentation
◆ FromData()
| Object ^ Apache::Geode::Client::IPdxSerializer::FromData | ( | String^ | classname, |
| IPdxReader^ | reader | ||
| ) |
Deserialize this object.
- Parameters
-
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.
◆ ToData()
| bool Apache::Geode::Client::IPdxSerializer::ToData | ( | Object^ | o, |
| IPdxWriter^ | writer | ||
| ) |
Serializes this object in geode PDX format.
- Parameters
-
o the object which need to serialize writer the IPdxWriter object to use for serializing the object
Implemented in Apache::Geode::Client::ReflectionBasedAutoSerializer.
Apache Geode C++ Cache .NET API Documentation