irccd
3.0.3
|
Provide convenient functions for connectors. More...
#include <connector.hpp>
Public Member Functions | |
basic_socket_connector (boost::asio::io_context &service) | |
auto | get_service () const noexcept -> const boost::asio::io_context & |
auto | get_service () noexcept -> boost::asio::io_context & |
![]() | |
connector ()=default | |
virtual | ~connector ()=default |
virtual void | connect (handler handler)=0 |
Protected Attributes | |
boost::asio::io_context & | service_ |
The I/O service. More... | |
Additional Inherited Members | |
![]() | |
using | handler = std::function< void(std::error_code, std::shared_ptr< stream >)> |
Connect completion handler. More... | |
Provide convenient functions for connectors.
|
inline |
Construct the connector
service | the service |
|
inlinenoexcept |
Get the I/O service.
|
inlinenoexcept |
Overloaded function.
|
protected |
The I/O service.