private void ChangeState(ConnectionState state) { State = state; _pusher.ConnectionStateChanged(state); }