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, int timeout, DOFObjectDefineOperationListener operationListener, Object context )
Parameters
- interfaceID
- Type: org.opendof.core.oalDOFInterfaceID
The interface identifier for the interface. This must not be null. - 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: DOFOperationDefineThe define operation. Will not be null.
Remarks
See Also