Click or drag to resize

PortableTypeSerializer Class

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
A IPofSerializer implementation that serializes classes that implement IPortableObject interface (and optionally IEvolvableObject interface).
Inheritance Hierarchy
System.Object
  Tangosol.IO.Pof.PortableTypeSerializer

Namespace:  Tangosol.IO.Pof
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
public class PortableTypeSerializer : IPofSerializer

The PortableTypeSerializer type exposes the following members.

Constructors
  NameDescription
Public methodPortableTypeSerializer
Create a new PortableTypeSerializer for the user type with the given type identifier and class.
Top
Methods
  NameDescription
Public methodDeserialize
Deserialize a user type instance from a POF stream by reading its state using the specified IPofReader object.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSerialize
Serialize a user type instance to a POF stream by writing its state using the specified IPofWriter object.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Protected fieldm_nTypeId
The type identifier of the user type to serialize and deserialize.
Top
Remarks
Unlike legacy PortableObjectSerializer, this class serializes attributes of each class in the object's hierarchy into a separate nested POF stream, which allows for independent evolution of each class in the hierarchy, as well as the evolution of the hierarchy itself (addition of new classes at any level in the hierarchy).
See Also