public bool SendExitRequest() { if (cManager && cManager.IsConnected()) { RequestExit request = new RequestExit(); request.send(); cManager.send(request); return(true); } return(false); }
private void Connection_Closed() { Console.WriteLine("Connection has been disconnected by server."); RequestExit?.Invoke(); }
private void OnRequestExitExit() { RequestExit?.Invoke(); }
void stopWallRunning() { RequestExit?.Invoke(); }