Class TBufferedSocket

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class TBufferedSocket
    extends org.apache.thrift.transport.TIOStreamTransport
    • Field Summary

      • Fields inherited from class org.apache.thrift.transport.TIOStreamTransport

        inputStream_, outputStream_
      • Fields inherited from class org.apache.thrift.transport.TEndpointTransport

        knownMessageSize, remainingMessageSize
    • Constructor Summary

      Constructors 
      Constructor Description
      TBufferedSocket​(org.apache.thrift.transport.TSocket sock, int bufferSize)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getClientString()  
      • Methods inherited from class org.apache.thrift.transport.TIOStreamTransport

        close, flush, isOpen, open, read, write
      • Methods inherited from class org.apache.thrift.transport.TEndpointTransport

        checkReadBytesAvailable, countConsumedMessageBytes, getConfiguration, getMaxFrameSize, getMaxMessageSize, resetConsumedMessageSize, setMaxFrameSize, updateKnownMessageSize
      • Methods inherited from class org.apache.thrift.transport.TTransport

        consumeBuffer, getBuffer, getBufferPosition, getBytesRemainingInBuffer, peek, read, readAll, write, write
    • Constructor Detail

      • TBufferedSocket

        public TBufferedSocket​(org.apache.thrift.transport.TSocket sock,
                               int bufferSize)
                        throws IOException,
                               org.apache.thrift.transport.TTransportException
        Throws:
        IOException
        org.apache.thrift.transport.TTransportException
    • Method Detail

      • getClientString

        public String getClientString()