#include <userver/engine/io/common.hpp>
|
virtual bool | IsValid () const =0 |
| Whether the stream is valid.
|
|
virtual bool | WaitReadable (Deadline)=0 |
| Suspends current task until the stream has data available.
|
|
virtual size_t | ReadSome (void *buf, size_t len, Deadline deadline)=0 |
| Receives at least one byte from the stream.
|
|
virtual size_t | ReadAll (void *buf, size_t len, Deadline deadline)=0 |
|
virtual bool | WaitWriteable (Deadline deadline)=0 |
| Suspends current task until the data is available.
|
|
virtual size_t | WriteAll (const void *buf, size_t len, Deadline deadline)=0 |
| Sends exactly len bytes of buf.
|
|
virtual size_t | WriteAll (std::initializer_list< IoData > list, Deadline deadline) |
|
Interface for readable and writable streams
Definition at line 76 of file common.hpp.
The documentation for this class was generated from the following file: