Package org.apache.thrift
Class TServiceClient
java.lang.Object
org.apache.thrift.TServiceClient
A TServiceClient is used to communicate with a TService implementation across protocols and
transports.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTServiceClient
(TProtocol prot) TServiceClient
(TProtocol iprot, TProtocol oprot) -
Method Summary
Modifier and TypeMethodDescriptionGet the TProtocol being used as the input (read) protocol.Get the TProtocol being used as the output (write) protocol.protected void
receiveBase
(TBase<?, ?> result, String methodName) protected void
protected void
sendBaseOneway
(String methodName, TBase<?, ?> args)
-
Field Details
-
iprot_
-
oprot_
-
seqid_
protected int seqid_
-
-
Constructor Details
-
TServiceClient
-
TServiceClient
-
-
Method Details
-
getInputProtocol
Get the TProtocol being used as the input (read) protocol.- Returns:
- the TProtocol being used as the input (read) protocol.
-
getOutputProtocol
Get the TProtocol being used as the output (write) protocol.- Returns:
- the TProtocol being used as the output (write) protocol.
-
sendBase
- Throws:
TException
-
sendBaseOneway
- Throws:
TException
-
receiveBase
- Throws:
TException
-