Used by a Provider to advertise that the specified interface can be provided.
Namespace: org.opendof.core.oalAssembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
public void advertise(
DOFInterfaceID interfaceID
)
Parameters
- interfaceID
- Type: org.opendof.core.oalDOFInterfaceID
The interface identifier for the interface to be provided. This must not be null.
Used by a Provider to advertise that the specified interface can be provided. 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)
.
Reference