OpenDOF Project
Data Fields
DOFInterestListener Struct Reference

The DOFInterestListener interface enables you to create functionality for monitoring all interest requests. More...

Data Fields

void(* Removed )(DOFInterestListener self, DOF dof, DOFException except)
 Called when the DOFInterestListener is removed from the DOF.
 
void(* InterestAdded )(DOFInterestListener self, DOF dof, DOFRequest request, DOFObjectID objectID, DOFInterfaceID interfaceID, DOFInterestLevel level)
 Called when the node receives any level of interest for a binding.
 
void(* InterestRemoved )(DOFInterestListener self, DOF dof, DOFRequest request, DOFObjectID objectID, DOFInterfaceID interfaceID, DOFInterestLevel level)
 Called when an interest request is canceled or times out.
 

Detailed Description

The DOFInterestListener interface enables you to create functionality for monitoring all interest requests.

The DOF Interest Listener interface.

It is intended only for monitoring:

All of the functions in this structure take a pointer to this structure (a DOFInterestListener) as their first argument. This structure may be placed as the first element in a larger structure that stores additional state, allowing the functions to access the additional state by casting the structure pointer to a pointer to the larger structure. If no additional state is required, this structure may be used directly.

Threading:
Functions in this interface may be called by multiple threads simultaneously. You must manage thread-safety.
See Also
DOF_AddInterestListener
DOF_RemoveInterestListener

Defined as a pointer to the DOFInterestListener_t structure. Refer to the structure for more information.

core-c-dof-oal Version 8.0.0 Build 0
2017-04-21