DOFSystemquery Method (DOFQuery)OpenDOF Object Access Library
Used by a Requestor to query for the set of currently available 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 IList<DOFObjectID> query(
	DOFQuery query
)

Parameters

query
Type: org.opendof.core.oalDOFQuery
The query to match. If null, then the query matches all provides compatible with the system.

Return Value

Type: IListDOFObjectID
The set of DOFObjectIDs for the currently available objects providing the specified query.
Remarks

Used by a Requestor to query for the set of currently available objects, which provide interfaces that match the specified query.

NOTE: An application must first express interest by calling beginInterest(DOFObjectID, DOFInterestLevel) . Interest goes out on the network and looks for matching providers. query, on the other hand, searches through the local set of known providers (those already found through interest).

See Also

Reference