|
using | endpoint_type = asio::ip::tcp::endpoint |
|
using | entity_notifier_cb = std::function<void (std::error_code, std::shared_ptr<tcp_io>)> |
|
|
| tcp_io (asio::ip::tcp::socket sock, entity_notifier_cb cb) noexcept |
|
template<typename F > |
void | visit_socket (F &&f) |
|
output_queue_stats | get_output_queue_stats () const noexcept |
|
bool | is_io_started () const noexcept |
|
template<typename MH , typename MF > |
bool | start_io (std::size_t header_size, MH &&msg_handler, MF &&msg_frame) |
|
template<typename MH > |
bool | start_io (std::size_t header_size, MH &&msg_handler, hdr_decoder_func func) |
|
template<typename MH > |
bool | start_io (std::string_view delimiter, MH &&msg_handler) |
|
template<typename MH > |
bool | start_io (std::size_t read_size, MH &&msg_handler) |
|
bool | start_io () |
|
bool | stop_io () |
|
bool | send (const chops::const_shared_buffer &buf) |
|
bool | send (const chops::const_shared_buffer &buf, const endpoint_type &) |
|
The documentation for this class was generated from the following file:
- /github/workspace/include/net_ip/detail/tcp_io.hpp