Detailed Description

IODevice is the endpoint for I/O. It is a Selectable. read() and write() block. beginRead() and beginWrite() run with an EventLoop. endRead() and endWrite() complete those operations. inputReady and outputReady fire when an asynchronous operation finishes. FileDevice is the file endpoint.

Pipe is a pair of IODevice objects. Bytes written to in() are read from out() in the same order. SerialDevice is a serial port with baud rate, parity, stop bits, and flow control.

IOBuffer is the stream buffer for an IODevice. IOStream, IStream, and OStream attach a device through that buffer.

IONotifier waits on a native handle or file descriptor in an EventLoop.

Classes

class  IOBuffer
 Stream buffer for an IODevice. More...
 
class  IODevice
 Endpoint for I/O operations. More...
 
class  IONotifier
 Monitors a native handle or file descriptor. More...
 
class  IStream
 Input stream for an IODevice. More...
 
class  OStream
 Output stream for an IODevice. More...
 
class  IOStream
 Bidirectional stream for an IODevice. More...
 
class  Pipe
 Pair of IODevice endpoints that form a half-duplex pipe. More...
 
class  SerialDevice
 Serial port as an IODevice. More...