IPofSerializerDeserialize 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)
SyntaxObject 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.
Exceptions
Remarks
An implementation of
IPofSerializer is required to follow
the following steps in sequence for reading in an object of a
user type:
-
If the object is evolvable, the implementation must get the
version by calling VersionId.
-
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. Additionally, the implementation must call
{@link IPofReader#RegisterIdentity} with the new instance prior
to reading any properties which are user type instances
themselves.
-
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