Module thrift::transport

source ·
Expand description

Types used to send and receive bytes over an I/O channel.

The core types are the TReadTransport, TWriteTransport and the TIoChannel traits, through which TInputProtocol or TOutputProtocol can receive and send primitives over the wire. While TInputProtocol and TOutputProtocol instances deal with language primitives the types in this module understand only bytes.

Structs

Traits

  • Identifies a splittable bidirectional I/O channel used to send and receive bytes.
  • Identifies a transport used by a TInputProtocol to receive bytes.
  • Helper type used by a server to create TReadTransport instances for accepted client connections.
  • Identifies a transport used by TOutputProtocol to send bytes.
  • Helper type used by a server to create TWriteTransport instances for accepted client connections.