Used by a Requestor to block the caller and wait until the first provider becomes available that provides all of the specified interfaces.
Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
public DOFObject waitProvider( IList<DOFInterfaceID> interfaceIDs, int timeout )
Parameters
- interfaceIDs
- Type: System.Collections.GenericIListDOFInterfaceID
A list of interface identifiers. This must not be null or empty and may not contain null nor 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