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