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. | |
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.
Defined as a pointer to the ReconnectingStateListenerCallbacks_t structure. Refer to the structure for more information.