Example #1
0
        public PooledClient(string endpointList)
        {
            var endpoints = IpUtils.ParseEndpointList(endpointList);

            thriftFactory = new ThriftFactory <TSampleService.Iface>(endpoints, SocketTimeout,
                                                                     socket => new TSampleService.Client(new TBinaryProtocol(socket)));
        }