Click or drag to resize

SafeConfigurablePofContextDotNetPofSerializerDeserialize Method

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Deserialize a user type instance from a POF stream by reading its state using the specified IPofReader object.

Namespace:  Tangosol.IO.Pof
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
public Object Deserialize(
	IPofReader reader
)

Parameters

reader
Type: Tangosol.IO.PofIPofReader
The IPofReader with which to read the object's state.

Return Value

Type: Object
The deserialized user type instance.

Implements

IPofSerializerDeserialize(IPofReader)
Exceptions
ExceptionCondition
IOException If an I/O error occurs.
Remarks
An implementation of IPofSerializer is required to follow the following steps in sequence for reading in an object of a user type:
  1. If the object is evolvable, the implementation must get the version by calling VersionId.
  2. The implementation may read any combination of the properties of the user type by using "read" methods of the IPofReader, but it must do so in the order of the property indexes.
  3. After all desired properties of the user type have been read, the implementation must terminate the reading of the user type by calling ReadRemainder.
See Also