Exemplo n.º 1
0
 public void Start()
 {
     Log.Info("Starting");
     this.OnStart(null);
     Server         = new Server(GameStateEngine.GetContext(), Program.BroadcastPort);
     Server.OnStop += (sender, args) => { if (!StopCalled)
                                          {
                                              this.Stop();
                                          }
     };
     Log.Info("Started");
 }
Exemplo n.º 2
0
 public void Start()
 {
     Log.Info("Starting");
     this.OnStart(null);
     if (!Program.Local)
     {
         SasManagerServiceClient.GetContext().Start();
     }
     Server         = new Server(GameStateEngine.GetContext());
     Server.OnStop += (sender, args) => { if (!StopCalled)
                                          {
                                              this.Stop();
                                          }
     };
     Log.Info("Started");
 }