Called whenever the
State.isConnected()
value changes for any of the DOF's connections.
This method is called immediately for all connections when the listener is added, and then will be called whenever a connection's
connected state changes. For each connection, 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 connection rapidly connects and then disconnects, you won't mistakenly
receive the disconnect notification before the connect notification.
Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
void stateChanged( DOFRuntime runtime, DOFConnection connection, DOFConnectionState state )
Parameters
- runtime
- Type: org.opendof.core.oalDOFRuntime
The runtime instance associated with this listener. This will never be null. - connection
- Type: org.opendof.core.oalDOFConnection
The DOFConnection that changed state. This will never be null. - state
- Type: org.opendof.core.oalDOFConnectionState
The updated state of the connection. This will never be null.
See Also