IPdxSerializable Interface |
When a domain class implements PdxSerializable it marks
itself as a PDX.
The implementation of toData provides the serialization
code and fromData provides the deserialization code.
These methods also define each field name and field type
of the PDX. Domain classes should serialize and de-serialize
all its member fields in same order in toData and fromData
method.
A domain class which implements this interface should register delgate [!:Serializable.RegisterPdxType] to create new
instance of type for de-serilization.
Namespace: GemStone.GemFire.Cache.GenericAssembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntaxpublic interface IPdxSerializable
Public Interface IPdxSerializable
public interface class IPdxSerializable
type IPdxSerializable = interface end
The IPdxSerializable type exposes the following members.
Methods
| Name | Description |
---|
 | FromData |
Deserialize this object.
|
 | ToData |
Serializes this object in gemfire PDX format.
|
Top
See Also