Click or drag to resize

WritingPofHandlerBeginUserType Method

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Report that a value of a "user type" has been encountered in the POF stream.

Namespace:  Tangosol.IO.Pof
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
public virtual void BeginUserType(
	int position,
	int nId,
	int userTypeId,
	int versionId
)

Parameters

position
Type: SystemInt32
Context-sensitive position information: property position within a user type, array position within an array, element counter within a collection, entry counter within a map, -1 otherwise.
nId
Type: SystemInt32
Identity of the object to encode, or -1 if identity shouldn't be encoded in the POF stream.
userTypeId
Type: SystemInt32
The user type identifier, (userTypeId >= 0).
versionId
Type: SystemInt32
The version identifier for the user data type data in the POF stream, (versionId >= 0).

Implements

IPofHandlerBeginUserType(Int32, Int32, Int32, Int32)
Remarks

A user type is analogous to a "class", and a value of a user type is analogous to an "object".

This method call will be followed by a separate call to an "on" or "begin" method for each of the property values in the user type, and the user type will then be terminated by a call to EndComplexValue.

See Also