Used by a Provider to begin providing the specified interface.
Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
public DOFOperationProvide beginProvide( DOFInterface iface, int timeout, DOFObjectProvider provider )
Parameters
- iface
- Type: org.opendof.core.oalDOFInterface
The interface to be provided. This must not be null. - timeout
- Type: SystemInt32
Time, in milliseconds, for the provide to remain active. Must be >= 0. Use DOF.TIMEOUT_NEVER to provide indefinitely. Then use DOFOperation.cancel() to quit providing. If used in conjunction with beginSession(DOFInterface, DOFInterfaceID) , use DOF.TIMEOUT_NEVER. - provider
- Type: org.opendof.core.oalDOFObjectProvider
The listener to handle requests on this interface. Null = no desired listener (may be used for "marker interfaces"/no provider implementation).
Return Value
Type: DOFOperationProvideThe provide operation that may be used to end providing. Will not be null.
Remarks
See Also