The DOF.InterestListener interface enables you to create functionality for monitoring all interest requests.
Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
public interface InterestListener
The DOFInterestListener type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | interestAdded | Called when the node receives any level of interest for a binding. |
![]() | interestRemoved | Called when an interest request is canceled or times out. |
![]() | removed | Called when the InterestListener is removed from the DOF. |
Remarks
- To react by providing a binding in response to a DOFInterestLevel.ACTIVATE interest, use ActivateInterestListener instead.
- To react by connecting in response to a DOFInterestLevel.CONNECT , use StreamRequestListener instead.
See Also