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: 3.6.4.0

Syntax

C#
public interface IPdxSerializable
Visual Basic (Declaration)
Public Interface IPdxSerializable
Visual C++
public interface class IPdxSerializable

See Also