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. |
|
Asynchronously wait for the descriptor to become ready to read, ready to write, or to have pending error conditions. |
|
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. |
|
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. |
|
Wait for the descriptor to become ready to read, ready to write, or to have pending error conditions. |
|
Write the given data to the stream. |
Name |
Description |
---|---|
The unique service identifier. |
Header: asio/posix/stream_descriptor_service.hpp
Convenience header: asio.hpp