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

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

C#
public DOFOperationInterest beginInterest(
	DOFInterfaceID interfaceID,
	DOFInterestLevel level
)

Parameters

interfaceID
Type: org.opendof.core.oalDOFInterfaceID
The interface of interest. This must not be null. This may not be WILDCARD 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 interface and any object.

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

See Also

Reference