DOFInterfaceItem Constructor (DOFInterfaceItemType, DOFPacket)OpenDOF Object Access Library
Create an instance from serial form.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
protected Item(
	DOFInterfaceItemType type,
	DOFPacket packet
)

Parameters

type
Type: org.opendof.core.oalDOFInterfaceItemType
The type of the item (PROPERTY, EVENT, METHOD, or EXCEPTION).
packet
Type: org.opendof.core.oalDOFPacket
The source to read the item header from.
Exceptions

ExceptionCondition
DOFMarshalException If there are errors in the data or the buffer. This is an exception to the rule that non-RuntimeExceptions not be thrown from a constructor.
DOFMarshalException
Remarks

Create an instance from serial form.

Initialize this object from the specified byte array and offset into the array. Adjusts offset for the next unread byte.

See Also

Reference

org.opendof.core.internal_Renamed.protocol.Marshallable