public LegacyThriftClient(string host, int port) { if (host == null) throw new ArgumentNullException("host"); _transport = new TSocket(host, port); TProtocol protocol = new TBinaryProtocol(_transport); _client = new ThriftFlumeEventServer.Client(protocol); _transport.Open(); }
public LegacyThriftClient(string host, int port) { if (host == null) { throw new ArgumentNullException("host"); } _transport = new TSocket(host, port); TProtocol protocol = new TBinaryProtocol(_transport); _client = new ThriftFlumeEventServer.Client(protocol); _transport.Open(); }