setState method

void setState(
  1. StompServerConnectionState newState
)

Sets the connection state

Implementation

void setState(StompServerConnectionState newState) {
  _state = newState;
}