/** * Create a Thrift client using the given factory and transport */ public static <T extends TServiceClient> T createClient(TServiceClientFactory<T> factory, TTransport transport) { return factory.getClient(protocolFactory.getProtocol(transport), protocolFactory.getProtocol(transport)); }
/** * Create a Thrift client using the given factory and transport */ public static <T extends TServiceClient> T createClient(TServiceClientFactory<T> factory, TTransport transport) { return factory.getClient(protocolFactory.getProtocol(transport), protocolFactory.getProtocol(transport)); }