diff options
Diffstat (limited to 'lib/java/src/main/java/org/apache/thrift/TServiceClientFactory.java')
-rw-r--r-- | lib/java/src/main/java/org/apache/thrift/TServiceClientFactory.java | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/java/src/main/java/org/apache/thrift/TServiceClientFactory.java b/lib/java/src/main/java/org/apache/thrift/TServiceClientFactory.java index 7f08ba674..16363329a 100644 --- a/lib/java/src/main/java/org/apache/thrift/TServiceClientFactory.java +++ b/lib/java/src/main/java/org/apache/thrift/TServiceClientFactory.java @@ -22,21 +22,24 @@ package org.apache.thrift; import org.apache.thrift.protocol.TProtocol; /** - * A TServiceClientFactory provides a general way to get a TServiceClient - * connected to a remote TService via a protocol. + * A TServiceClientFactory provides a general way to get a TServiceClient connected to a remote + * TService via a protocol. + * * @param <T> the type of TServiceClient to get. */ public interface TServiceClientFactory<T extends TServiceClient> { /** * Get a brand-new T using <i>prot</i> as both the input and output protocol. + * * @param prot The protocol to use for getting T. * @return A brand-new T using <i>prot</i> as both the input and output protocol. */ public T getClient(TProtocol prot); /** - * Get a brand new T using the specified input and output protocols. The - * input and output protocols may be the same instance. + * Get a brand new T using the specified input and output protocols. The input and output + * protocols may be the same instance. + * * @param iprot The input protocol to use for getting T. * @param oprot The output protocol to use for getting T. * @return a brand new T using the specified input and output protocols |