Used by a Requestor to block the caller and wait until the first available provider becomes available that provides the specified interface.
Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
public DOFObject waitProvider( DOFInterfaceID interfaceID, int timeout )
Parameters
- interfaceID
- Type: org.opendof.core.oalDOFInterfaceID
The interface identifier. This must not be null and must be a specific interface ID (not the Wildcard ID). - timeout
- Type: SystemInt32
Maximum time to wait, in milliseconds, for the provider to become available. Must be >= 0.
Return Value
Type: DOFObjectA matching DOFObject that must be destroyed when no longer needed.
Exceptions
Exception | Condition |
---|---|
DOFErrorException | If the provider cannot be returned in the time specified. |
DOFErrorException |
Remarks
See Also