public ClientTest(TestParams paramin) { param = paramin; transport = param.CreateTransport(); TProtocol protocol = param.CreateProtocol(transport); if (param.multiplexed) { second = new SecondService.Client(new TMultiplexedProtocol(protocol, "SecondService")); } client = new ThriftTest.Client(protocol); numIterations = param.numIterations; }
public ClientTest(TestParams param) { transport = param.CreateTransport(); client = new ThriftTest.Client(param.CreateProtocol(transport)); numIterations = param.numIterations; }