public void Init()
        {
            var serverConfig = new ServerConfig
            {
                ServerType = ServerType.AsyncServer
            };

            serverRunner = ServerRunners.CreateStarted(serverConfig);
        }
Beispiel #2
0
        public void Init()
        {
            var serverConfig = new ServerConfig
            {
                ServerType = ServerType.ASYNC_SERVER
            };

            serverRunner = ServerRunners.CreateStarted(serverConfig);
        }
Beispiel #3
0
        public void Init()
        {
            var serverConfig = new ServerConfig
            {
                ServerType    = ServerType.ASYNC_SERVER,
                PayloadConfig = new PayloadConfig
                {
                    SimpleParams = new SimpleProtoParams
                    {
                        RespSize = 100
                    }
                }
            };

            serverRunner = ServerRunners.CreateStarted(serverConfig);
        }