Packages

c

com.twitter.finagle.thrift

TBufInputTransport

final class TBufInputTransport extends TTransport

A TTransport that's backed by a Buf.

We assume that the input is "owned", and will directly access the underlying byte array if possible for performance. If the input is needded intact, please instead copy the Buf and then provide it.

Note that this class is not threadsafe. If you wish to use it across threads, you must provide your own synchronization.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TBufInputTransport
  2. TTransport
  3. Closeable
  4. AutoCloseable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TBufInputTransport(input: Buf)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def close(): Unit
    Definition Classes
    TBufInputTransport → TTransport → Closeable → AutoCloseable
  7. def consumeBuffer(len: Int): Unit
    Definition Classes
    TBufInputTransport → TTransport
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. def flush(): Unit
    Definition Classes
    TTransport
    Annotations
    @throws(classOf[org.apache.thrift.transport.TTransportException])
  12. def getBuffer(): Array[Byte]

    Depending on the Buf implementation, may entail copying

    Depending on the Buf implementation, may entail copying

    Definition Classes
    TBufInputTransport → TTransport
  13. def getBufferPosition(): Int
    Definition Classes
    TBufInputTransport → TTransport
  14. def getBytesRemainingInBuffer(): Int
    Definition Classes
    TBufInputTransport → TTransport
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def isOpen(): Boolean
    Definition Classes
    TBufInputTransport → TTransport
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def open(): Unit
    Definition Classes
    TBufInputTransport → TTransport
  23. def peek(): Boolean
    Definition Classes
    TTransport
  24. def read(buf: Array[Byte], offset: Int, length: Int): Int
    Definition Classes
    TBufInputTransport → TTransport
  25. def readAll(arg0: Array[Byte], arg1: Int, arg2: Int): Int
    Definition Classes
    TTransport
    Annotations
    @throws(classOf[org.apache.thrift.transport.TTransportException])
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  31. def write(buf: Array[Byte], offset: Int, length: Int): Unit
    Definition Classes
    TBufInputTransport → TTransport
  32. def write(arg0: Array[Byte]): Unit
    Definition Classes
    TTransport
    Annotations
    @throws(classOf[org.apache.thrift.transport.TTransportException])

Inherited from TTransport

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped