Ejemplo n.º 1
0
        public NodeClient(AtlasNodeInfo info)
        {
            Transport = new TBufferedTransport(new TSocket(info.Host, (int)info.Port));
            TProtocol protocol = new TBinaryProtocol(Transport);

            Client = new AtlasNode.Client(protocol);
        }
Ejemplo n.º 2
0
        public NodeClient(string host, int port)
        {
            Transport = new TBufferedTransport(new TSocket(host, port));
            TProtocol protocol = new TBinaryProtocol(Transport);

            Client = new AtlasNode.Client(protocol);
        }