예제 #1
0
        public void Init()
        {
            _client = new DataClient();
            var channel = new InProcessChannel();

            _client.Channel = channel;


            _server = new Server.Server(new NodeConfig())
            {
                Channel = channel
            };
            _server.Start();

            _client.DeclareCollection <CacheableTypeOk>();
            _client.DeclareCollection <Trade>();
        }