DOFObjectbeginDefine Method (DOFInterfaceID, DOFOperationControl, Int32, DOFObjectDefineOperationListener, Object)OpenDOF Object Access Library
Used by a Requestor to obtain an interface definition asynchronously.

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

C#
public DOFOperationDefine beginDefine(
	DOFInterfaceID interfaceID,
	DOFOperationControl control,
	int timeout,
	DOFObjectDefineOperationListener operationListener,
	Object context
)

Parameters

interfaceID
Type: org.opendof.core.oalDOFInterfaceID
The interface identifier for the interface. This must not be null.
control
Type: org.opendof.core.oalDOFOperationControl
The control to use for the request.
timeout
Type: SystemInt32
Maximum time to wait, in milliseconds, for the interface definition to be obtained. Must be >= 0.
operationListener
Type: org.opendof.core.oalDOFObjectDefineOperationListener
The listener for receiving asynchronous notification. A null value means no listener will be called and the definition can be obtained by calling Define.getInterfaceID() or Define.waitInterface(int) .
context
Type: SystemObject
Application context for the define. The context is returned with the operation when a listener is called. A value of null represents 'no context', but will be handled just like a non-null value.

Return Value

Type: DOFOperationDefine
The define operation. Will not be null.
Remarks

Used by a Requestor to obtain an interface definition asynchronously.

NOTE: The combination of using DOFObjectID.BROADCAST and dynamic interfaces (registry zero) is illegal.

See Also

Reference