T - the type of TServiceClient to get.public interface TServiceClientFactory<T extends TServiceClient>
| Modifier and Type | Method and Description |
|---|---|
T |
getClient(TProtocol prot)
Get a brand-new T using prot as both the input and output protocol.
|
T |
getClient(TProtocol iprot,
TProtocol oprot)
Get a brand new T using the specified input and output protocols.
|
T getClient(TProtocol prot)
prot - The protocol to use for getting T.T getClient(TProtocol iprot, TProtocol oprot)
iprot - The input protocol to use for getting T.oprot - The output protocol to use for getting T.