Chops Net IP
Loading...
Searching...
No Matches
chops::net::detail::udp_entity_io Class Reference
Inheritance diagram for chops::net::detail::udp_entity_io:
Collaboration diagram for chops::net::detail::udp_entity_io:

Public Types

using endpoint_type = asio::ip::udp::endpoint
 

Public Member Functions

 udp_entity_io (asio::io_context &ioc, const endpoint_type &local_endp) noexcept
 
 udp_entity_io (asio::io_context &ioc, std::string_view local_port_or_service, std::string_view local_intf) noexcept
 
bool is_started () const noexcept
 
bool is_io_started () const noexcept
 
template<typename F >
void visit_socket (F &&f)
 
template<typename F >
std::size_t visit_io_output (F &&func)
 
output_queue_stats get_output_queue_stats () const noexcept
 
template<typename F1 , typename F2 >
std::error_code start (F1 &&io_state_chg, F2 &&err_cb)
 
template<typename MH >
bool start_io (std::size_t max_size, MH &&msg_handler)
 
template<typename MH >
bool start_io (const endpoint_type &endp, std::size_t max_size, MH &&msg_handler)
 
bool start_io ()
 
bool start_io (const endpoint_type &endp)
 
bool stop_io ()
 
std::error_code stop ()
 
bool send (const chops::const_shared_buffer &buf)
 
bool send (const chops::const_shared_buffer &buf, const endpoint_type &endp)
 

The documentation for this class was generated from the following file: