Esempio n. 1
0
 public void ServerStopped()
 {
     Console.WriteLine("Received server stopped.");
     Control.state = new StoppedServerState(Control, RequestServer);
     RequestServer.RemoveServerStatusListener(this);
     Control.view.DispatchServerStatus();
 }
Esempio n. 2
0
 public void ServerStarted()
 {
     Control.state = new RunningServerState(Control, RequestServer);
     RequestServer.RemoveServerStatusListener(this);
     Control.view.DispatchServerStatus();
 }