DOFSystembeginInterest Method (DOFObjectID, DOFInterfaceID, DOFInterestLevel, Int32)OpenDOF Object Access Library
Used by a Requestor to request interest in a given object and interface combination.

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

C#
public DOFOperationInterest beginInterest(
	DOFObjectID objectID,
	DOFInterfaceID interfaceID,
	DOFInterestLevel level,
	int timeout
)

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.
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.
timeout
Type: SystemInt32
How long in milliseconds that the interest should remain active. During this period, the operationListener will be called as matching providers become available. Must be >= 0.

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 in a given object and interface combination. Note: Since there is no InterestOperationListener DOFOperation.waitComplete() can be called on the returned operation to wait for it to complete.
See Also

Reference