DOFSystembeginInterest Method (DOFObjectID, DOFInterestLevel)OpenDOF Object Access Library
Used by a Requestor to request interest with an indefinate duration in a given object and any interface.

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

C#
public DOFOperationInterest beginInterest(
	DOFObjectID objectID,
	DOFInterestLevel level
)

Parameters

objectID
Type: org.opendof.core.oalDOFObjectID
The identifier of the object. This must not be null. This may not be BROADCAST for the CONNECT-level interest.
level
Type: org.opendof.core.oalDOFInterestLevel
The level of interest. This must not be null.

Return Value

Type: DOFOperationInterest
The interest operation that can be used to cancel the interest. Will not be null.
Remarks

Used by a Requestor to request interest with an indefinate duration in a given object and any interface.

Note: Since this is the same as specifying DOFInterfaceID.WILDCARD only use this method for WATCH and ACTIVATE levels of interest.

See Also

Reference