Class TServiceClient

java.lang.Object
org.apache.thrift.TServiceClient

public abstract class TServiceClient extends Object
A TServiceClient is used to communicate with a TService implementation across protocols and transports.
  • Field Details

    • iprot_

      protected TProtocol iprot_
    • oprot_

      protected TProtocol oprot_
    • seqid_

      protected int seqid_
  • Constructor Details

  • Method Details

    • getInputProtocol

      public TProtocol getInputProtocol()
      Get the TProtocol being used as the input (read) protocol.
      Returns:
      the TProtocol being used as the input (read) protocol.
    • getOutputProtocol

      public TProtocol getOutputProtocol()
      Get the TProtocol being used as the output (write) protocol.
      Returns:
      the TProtocol being used as the output (write) protocol.
    • sendBase

      protected void sendBase(String methodName, TBase<?,?> args) throws TException
      Throws:
      TException
    • sendBaseOneway

      protected void sendBaseOneway(String methodName, TBase<?,?> args) throws TException
      Throws:
      TException
    • receiveBase

      protected void receiveBase(TBase<?,?> result, String methodName) throws TException
      Throws:
      TException