Exemplo n.º 1
0
        public FastServer()
        {
            var endpoint = new TcpEndpoint(16121);

            _sessionHandler = new SessionHandler();

            var fs = new Sessions.FastServer("test", _scpSessionProtocol, endpoint);

            Global.ErrorHandler = new ServerErrorHandler();
            fs.SessionHandler = _sessionHandler;

            fs.Listen();
        }
Exemplo n.º 2
0
        public FastServer()
        {
            var endpoint = new TcpEndpoint(16121);

            _FastServer = new Sessions.FastServer("test", _scpSessionProtocol, endpoint)
            {
                SessionHandler = new SessionHandler()
            };

            Global.ErrorHandler = new ServerErrorHandler();

            _FastServer.Listen();
        }
Exemplo n.º 3
0
        public FastServer()
        {
            var endpoint = new TcpEndpoint(16121);

            _sessionHandler = new SessionHandler();

            var fs = new Sessions.FastServer("test", _scpSessionProtocol, endpoint);

            Global.ErrorHandler = new ServerErrorHandler();
            fs.SessionHandler   = _sessionHandler;

            fs.Listen();
        }