...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Default service implementation for a stream descriptor.
class stream_descriptor_service : public io_service::service
Name |
Description |
---|---|
The type of a stream descriptor implementation. |
|
The native descriptor type. |
Name |
Description |
---|---|
Assign an existing native descriptor to a stream descriptor. |
|
Start an asynchronous read. |
|
Start an asynchronous write. |
|
Cancel all asynchronous operations associated with the descriptor. |
|
Close a stream descriptor implementation. |
|
Construct a new stream descriptor implementation. |
|
Destroy a stream descriptor implementation. |
|
Get the io_service object that owns the service. |
|
Perform an IO control command on the descriptor. |
|
(Deprecated: use get_io_service().) Get the io_service object that owns the service. |
|
Determine whether the descriptor is open. |
|
Get the native descriptor implementation. |
|
Read some data from the stream. |
|
Destroy all user-defined descriptorr objects owned by the service. |
|
Construct a new stream descriptor service for the specified io_service. |
|
Write the given data to the stream. |
Name |
Description |
---|---|
The unique service identifier. |