public interface StateChangedCallback
void
stateChanged(ConnectionState oldState, ConnectionState newState)
void stateChanged(ConnectionState oldState, ConnectionState newState)