#include <userver/engine/io/common.hpp>
Additional Inherited Members | |
Public Member Functions inherited from engine::io::ReadableBase | |
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 |
Public Member Functions inherited from engine::io::WritableBase | |
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.