Exemplo n.º 1
0
        public void Run()
        {
            UiMediator = new ConsoleUiMediator
            {
                Application = this
            };

            Server = new NetServerService
            {
                Application = this
            };

            Server.StartAsync();

            UiMediator.Loop();
        }
Exemplo n.º 2
0
 private void StartNetSubSystem()
 {
     Server = new NetServerService(AppNetChannel);
     new Thread(ListenNetEvents).Start();
     Server.StartAsync();
 }