OpenDOF Project
Data Fields
DOFRuntimeServerStateListener Struct Reference

The DOFRuntimeServerStateListener interface, when implemented, enables you to receive notifications when any of the DOF's servers start or stop. More...

Data Fields

void(* Removed )(DOFRuntimeServerStateListener self, DOFRuntime runtime, DOFException except)
 Called when this listener is removed from the DOFRuntime, either through use of DOFRuntime_RemoveServerListener or because an exception caused the listener to be removed.
 
void(* StateChanged )(DOFRuntimeServerStateListener self, DOFRuntime runtime, DOFServer server, DOFServerState state)
 Called whenever the DOFServerState_IsStarted value changes for any of the DOF's servers.
 

Detailed Description

The DOFRuntimeServerStateListener interface, when implemented, enables you to receive notifications when any of the DOF's servers start or stop.

The Runtime Server State Listener interface.

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

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

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