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

The readable half of an object returned from TIoChannel::split.
In-memory read and write channel with fixed-size read and write buffers.
Transport that reads messages via an internal buffer.
Factory for creating instances of TBufferedReadTransport.
Transport that writes messages via an internal buffer.
Factory for creating instances of TBufferedWriteTransport.
Transport that reads framed messages.
Factory for creating instances of TFramedReadTransport.
Transport that writes framed messages.
Factory for creating instances of TFramedWriteTransport.
Bidirectional TCP/IP channel.
The writable half of an object returned from TIoChannel::split.

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.