OpenDOF Project
void(* DOFRuntimeServerStateListener::DOFRuntimeServerStateListenerFns_t::StateChanged)(DOFRuntimeServerStateListener self, DOFRuntime runtime, DOFServer server, DOFServerState state)

Called whenever the DOFServerState_IsStarted value changes for any of the DOF's servers.

This function is called immediately for all servers when the listener is added, and then will be called whenever a server's started state changes. For each server, the library guarantees that calls to this function will occur in the same order as the associated state change, so that, for example, if a server rapidly starts and then stops, you won't mistakenly receive the stop notification before the start notification.

This callback must not be NULL.

Parameters
selfThe listener object. This will never be NULL.
runtimeThe DOFRuntime on which the listener was added. This will never be NULL.
serverThe DOFServer that changed state. This will never be NULL.
stateThe updated state of the server. This will never be NULL.
core-c-dof-oal Version 7.1.7 Build 0
2017-10-31