...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. |
|
(Deprecated: Use native_handle_type.) 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. |
|
Determine whether the descriptor is open. |
|
Move-assign from another stream descriptor implementation. |
|
Move-construct a new stream descriptor implementation. |
|
(Deprecated: Use native_handle().) Get the native descriptor implementation. |
|
Get the native descriptor implementation. |
|
Gets the non-blocking mode of the native descriptor implementation. Sets the non-blocking mode of the native descriptor implementation. |
|
Gets the non-blocking mode of the descriptor. Sets the non-blocking mode of the descriptor. |
|
Read some data from the stream. |
|
Release ownership of the native descriptor implementation. |
|
Construct a new stream descriptor service for the specified io_service. |
|
Write the given data to the stream. |
Name |
Description |
---|---|
The unique service identifier. |
Header: boost/asio/posix/stream_descriptor_service.hpp
Convenience header: boost/asio.hpp