Click or drag to resize

IdentityPofSerializerSerialize Method

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Serialize a user type instance to a POF stream by writing its state using the specified IPofWriter object.

Namespace:  Tangosol.IO.Pof
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
public void Serialize(
	IPofWriter writer,
	Object o
)

Parameters

writer
Type: Tangosol.IO.PofIPofWriter
The IPofWriter with which to write the object's state.
o
Type: SystemObject
The object to serialize.

Implements

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