Package org.apache.thrift
Interface TServiceClientFactory<T extends TServiceClient>
-
- Type Parameters:
T-
public interface TServiceClientFactory<T extends TServiceClient>A TServiceClientFactory provides a general way to get a TServiceClient connected to a remote TService via a protocol.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TgetClient(TProtocol prot)Get a brand-new T using prot as both the input and output protocol.TgetClient(TProtocol iprot, TProtocol oprot)Get a brand new T using the specified input and output protocols.
-