OpenDOF Project
Data Fields
ReconnectingStateListenerCallbacks Struct Reference

The ReconnectingStateListener interface structure used to monitor connections. More...

Data Fields

void(* ConnectionRemoved )(ReconnectingStateListenerCallbacks self, ReconnectingStateListener listener, DOFConnection connection, DOFException except)
 Called to notify the user that the DOFConnection has been removed from the ReconnectingStateListener.
 
void(* Destroyed )(ReconnectingStateListenerCallbacks self, ReconnectingStateListener listener)
 Called when it is safe to free the resources for this ReconnectingStateListenerCallbacks.
 

Detailed Description

The ReconnectingStateListener interface structure used to monitor connections.

The ReconnectingStateListener callback interface.

All of the functions in this structure take a pointer to this structure (a ReconnectingStateListenerCallbacks) 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
ReconnectingStateListener_Create

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

core-c-dof-connection-reconnecting-listener Version 3.1.0 Build 0
2017-05-12