DOFRuntimegetProvidingConnections Method OpenDOF Object Access Library
Gets a collection of connections ( DOFConnection ), both inbound and outbound, over which a provide operation has been received for a specified DOFInterface on a specified DOFObject . In addition to specifying exact bindings, you can do the following:

  • Pass DOFObjectID.BROADCAST to get connections that are providing a specific interface on any object.
  • Pass DOFInterfaceID.WILDCARD to get connections that are providing any interface on a specific object.
  • Pass both to get all connections that are providing any binding.
Only remote provide operations that have been received over a connection will cause the DOFConnection to appear in the collection. Local provide operations sent over a connection do not.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
public abstract ICollection<DOFConnection> getProvidingConnections(
	DOFObjectID objectID,
	DOFInterfaceID interfaceID
)

Parameters

objectID
Type: org.opendof.core.oalDOFObjectID
The object identifier. This must not be null.
interfaceID
Type: org.opendof.core.oalDOFInterfaceID
The interface identifier. This must not be null.

Return Value

Type: ICollectionDOFConnection
A collection of connections that are currently carrying provide operations.
See Also

Reference

DOFObject.beginProvide(DOFInterface, Provider)