Module 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§

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

Traits§

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