DOFSystembeginInterest Method (DOFObjectID, DOFInterfaceID, DOFInterestLevel, Int32, DOFSystemInterestOperationListener, Object)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,
	DOFSystemInterestOperationListener operationListener,
	Object context
)

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.
operationListener
Type: org.opendof.core.oalDOFSystemInterestOperationListener
The operationListener for receiving asynchronous notification. A null value means no operationListener will be called.
context
Type: SystemObject
Application context for the query. The context is returned with the operation when a operationListener is called. A value of null represents 'no context', but will be handled just like a non-null value.

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.
See Also

Reference