boost::corosio::io_read_stream
Abstract base for streams that support async reads.
Synopsis
class io_read_stream
: public virtual io_object
Description
Provides the read_some operation via a pure virtual do_read_some dispatch point. Concrete classes override do_read_some to route through their implementation.
Uses virtual inheritance from io_object so that io_stream can combine this with io_write_stream without duplicating the io_object base.
Types
Name |
Description |
RAII wrapper for I/O object implementation lifetime. |
|
Base interface for platform I/O implementations. |
|
Service interface for I/O object lifecycle management. |
Member Functions
Name |
Description |
Return the execution context. |
|
Asynchronously read data from the stream. |
Protected Member Functions
Name |
Description |
|
Construct from a handle. |
|
Move assign from another I/O object. |
|
Dispatch a read through the concrete implementation. |
Protected Static Member Functions
Name |
Description |
Create a handle bound to a service found in the context. |
See Also
io_write_stream, io_stream, io_object
Created with MrDocs