...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 handle.
class stream_handle_service : public io_service::service
Name |
Description |
---|---|
The type of a stream handle implementation. |
|
The native handle type. |
|
(Deprecated: Use native_handle_type.) The native handle type. |
Name |
Description |
---|---|
Assign an existing native handle to a stream handle. |
|
Start an asynchronous read. |
|
Start an asynchronous write. |
|
Cancel all asynchronous operations associated with the handle. |
|
Close a stream handle implementation. |
|
Construct a new stream handle implementation. |
|
Destroy a stream handle implementation. |
|
Get the io_service object that owns the service. |
|
Determine whether the handle is open. |
|
Move-assign from another stream handle implementation. |
|
Move-construct a new stream handle implementation. |
|
(Deprecated: Use native_handle().) Get the native handle implementation. |
|
Get the native handle implementation. |
|
Read some data from the stream. |
|
Construct a new stream handle service for the specified io_service. |
|
Write the given data to the stream. |
Name |
Description |
---|---|
The unique service identifier. |
Header: boost/asio/windows/stream_handle_service.hpp
Convenience header: boost/asio.hpp