Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            //Tracker.TcpServer.Main tcpServer = new Main();
            //tcpServer.Start();

            ////Console.WriteLine("{0} Protocols are configured", serverTasks.Count);
            //Console.WriteLine("Press [q] to quit the server");

            //do
            //{
            //} while (Console.ReadKey().KeyChar != 'q');

            //tcpServer.Stop();

            //Console.WriteLine("Done");
            //Console.ReadLine();

            server = new TcpServer.TcpServerSAEA.Main();
            server.Start();
            Console.ReadLine();

            server.Stop();
        }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            //Tracker.TcpServer.Main tcpServer = new Main();
            //tcpServer.Start();

            ////Console.WriteLine("{0} Protocols are configured", serverTasks.Count);
            //Console.WriteLine("Press [q] to quit the server");

            //do
            //{
            //} while (Console.ReadKey().KeyChar != 'q');

            //tcpServer.Stop();

            //Console.WriteLine("Done");
            //Console.ReadLine();

            server = new TcpServer.TcpServerSAEA.Main();
            server.Start();
            Console.ReadLine();

            server.Stop();
        }
Ejemplo n.º 3
0
 protected override void OnStart(string[] args)
 {
     log.InfoFormat("{0}/OnStart", _fileNm);
     server.Start();
 }