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