Used by a Requestor to begin an asynchronous query with an indefinate duration for the availability of objects which provide interfaces that match the specified query.
Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
public DOFOperationQuery beginQuery( DOFObjectID oid, DOFInterfaceID iid, DOFSystemQueryOperationListener operationListener )
Parameters
- oid
- Type: org.opendof.core.oalDOFObjectID
Object ID to match. May be null. - iid
- Type: org.opendof.core.oalDOFInterfaceID
Interface ID to match. May be null. - operationListener
- Type: org.opendof.core.oalDOFSystemQueryOperationListener
The operationListener for receiving asynchronous notification. This must not be null, or no notifications can be received.
Return Value
Type: DOFOperationQueryThe query operation that can be used to cancel the query. Will not be null.
Remarks
- If oid and iid are null then the query matches all provides compatible with the system.
- If only the oid is null then the query matches any object providing the specified interface
- If only the iid is null then the query matches the given object providing any interface.
- If both the oid and iid are specified the query matches only the specified object providing the specified interface.
See Also