|
join 1.0
lightweight network framework library
|
asynchronous read operation. More...
#include <async_operation.hpp>

Public Types | |
| using | Endpoint = typename Protocol::Endpoint |
| using | Read = Function<void (const std::error_code&, const char*, size_t, bool), 16> |
| handler invoked on completion. | |
| using | ReadFrom = Function<void (const std::error_code&, const char*, size_t, const Endpoint&, bool), 16> |
| handler invoked on completion, reporting the endpoint the data are coming from. | |
Public Attributes | |
| IoOperation | op = {} |
| operation submitted to the proactor. | |
| Read | readHandler |
| handler invoked on completion. | |
| ReadFrom | readFromHandler |
| handler invoked on completion, reporting the endpoint the data are coming from. | |
| msghdr | msg = {} |
| read message header. | |
| iovec | iov = {} |
| read scatter gather entry. | |
asynchronous read operation.
| using join::BasicAsyncRead< Protocol, Proactor >::Endpoint = typename Protocol::Endpoint |
| using join::BasicAsyncRead< Protocol, Proactor >::Read = Function<void (const std::error_code&, const char*, size_t, bool), 16> |
handler invoked on completion.
| using join::BasicAsyncRead< Protocol, Proactor >::ReadFrom = Function<void (const std::error_code&, const char*, size_t, const Endpoint&, bool), 16> |
handler invoked on completion, reporting the endpoint the data are coming from.
| iovec join::BasicAsyncRead< Protocol, Proactor >::iov = {} |
read scatter gather entry.
| msghdr join::BasicAsyncRead< Protocol, Proactor >::msg = {} |
read message header.
| IoOperation join::BasicAsyncRead< Protocol, Proactor >::op = {} |
operation submitted to the proactor.
| ReadFrom join::BasicAsyncRead< Protocol, Proactor >::readFromHandler |
handler invoked on completion, reporting the endpoint the data are coming from.
| Read join::BasicAsyncRead< Protocol, Proactor >::readHandler |
handler invoked on completion.