Click or drag to resize
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.Generic
Assembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntax
public interface IPdxSerializable

The IPdxSerializable type exposes the following members.

Methods
  NameDescription
Public methodFromData
Deserialize this object.
Public methodToData
Serializes this object in gemfire PDX format.
Top
See Also