public NodeClient(AtlasNodeInfo info) { Transport = new TBufferedTransport(new TSocket(info.Host, (int)info.Port)); TProtocol protocol = new TBinaryProtocol(Transport); Client = new AtlasNode.Client(protocol); }
public NodeClient(string host, int port) { Transport = new TBufferedTransport(new TSocket(host, port)); TProtocol protocol = new TBinaryProtocol(Transport); Client = new AtlasNode.Client(protocol); }