Used by a Provider to advertise that the specified interface can be provided, specifying a
Control
for this operation. This call is beneficial at startup to notify potentially interested nodes of this provider's
capability. The advertise solicits matching
DOFInterestLevel.WATCH
,
DOFInterestLevel.ACTIVATE
, and
DOFInterestLevel.CONNECT
interest.
NOTE: This advertise will be sent to all security compatible nodes and timeout after 5 seconds. For a long-term advertise use
beginAdvertise(DOFInterfaceID, int)
.
Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
public void advertise( DOFInterfaceID interfaceID, DOFOperationControl control )
Parameters
- interfaceID
- Type: org.opendof.core.oalDOFInterfaceID
The interface identifier for the interface to be provided. This must not be null. - control
- Type: org.opendof.core.oalDOFOperationControl
The control to use for the operation. Null == use default control.
See Also