DOFRuntimeServerStateListenerstateChanged Method OpenDOF Object Access Library
Called whenever the State.isStarted() value changes for any of the DOF's servers. This method 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 method 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.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
void stateChanged(
	DOFRuntime runtime,
	DOFServer server,
	DOFServerState state
)

Parameters

runtime
Type: org.opendof.core.oalDOFRuntime
The runtime instance associated with this listener. This will never be null.
server
Type: org.opendof.core.oalDOFServer
The DOFServer that changed state. This will never be null.
state
Type: org.opendof.core.oalDOFServerState
The updated state of the server. This will never be null.
See Also

Reference