#include <connection.h>
|
stdx::expected< void, std::error_code > | resolve () |
|
stdx::expected< void, std::error_code > | init_destination () |
|
stdx::expected< void, std::error_code > | init_endpoint () |
|
stdx::expected< void, std::error_code > | next_endpoint () |
|
stdx::expected< void, std::error_code > | next_destination () |
|
stdx::expected< void, std::error_code > | connect_init () |
|
stdx::expected< void, std::error_code > | try_connect () |
|
stdx::expected< void, std::error_code > | connect_finish () |
|
stdx::expected< void, std::error_code > | connected () |
|
stdx::expected< void, std::error_code > | connect_failed (std::error_code ec) |
|
◆ server_protocol_type
◆ Function
Enumerator |
---|
kInitDestination | |
kConnectFinish | |
◆ ConnectorBase()
◆ connect_failed()
stdx::expected< void, std::error_code > ConnectorBase::connect_failed |
( |
std::error_code |
ec | ) |
|
|
protected |
◆ connect_finish()
stdx::expected< void, std::error_code > ConnectorBase::connect_finish |
( |
| ) |
|
|
protected |
◆ connect_init()
stdx::expected< void, std::error_code > ConnectorBase::connect_init |
( |
| ) |
|
|
protected |
◆ connect_timed_out() [1/2]
bool ConnectorBase::connect_timed_out |
( |
| ) |
const |
|
inline |
◆ connect_timed_out() [2/2]
void ConnectorBase::connect_timed_out |
( |
bool |
v | ) |
|
|
inline |
◆ connected()
◆ destination_id() [1/2]
std::string ConnectorBase::destination_id |
( |
| ) |
const |
|
inline |
◆ destination_id() [2/2]
void ConnectorBase::destination_id |
( |
std::string |
id | ) |
|
|
inline |
◆ endpoint()
◆ init_destination()
stdx::expected< void, std::error_code > ConnectorBase::init_destination |
( |
| ) |
|
|
protected |
◆ init_endpoint()
stdx::expected< void, std::error_code > ConnectorBase::init_endpoint |
( |
| ) |
|
|
protected |
◆ is_destination_good()
bool ConnectorBase::is_destination_good |
( |
const std::string & |
hostname, |
|
|
uint16_t |
port |
|
) |
| const |
|
inline |
◆ next_destination()
stdx::expected< void, std::error_code > ConnectorBase::next_destination |
( |
| ) |
|
|
protected |
◆ next_endpoint()
stdx::expected< void, std::error_code > ConnectorBase::next_endpoint |
( |
| ) |
|
|
protected |
◆ on_connect_failure()
void ConnectorBase::on_connect_failure |
( |
std::function< void(std::string, uint16_t, std::error_code)> |
func | ) |
|
|
inline |
◆ on_connect_success()
void ConnectorBase::on_connect_success |
( |
std::function< void(std::string, uint16_t)> |
func | ) |
|
|
inline |
◆ on_is_destination_good()
void ConnectorBase::on_is_destination_good |
( |
std::function< bool(std::string, uint16_t)> |
func | ) |
|
|
inline |
◆ resolve()
◆ socket()
◆ timer()
◆ try_connect()
stdx::expected< void, std::error_code > ConnectorBase::try_connect |
( |
| ) |
|
|
protected |
◆ connect_timed_out_
bool ConnectorBase::connect_timed_out_ {false} |
|
protected |
◆ connect_timer_
◆ destination_id_
std::string ConnectorBase::destination_id_ |
|
protected |
◆ destinations_
◆ destinations_it_
◆ endpoints_
◆ endpoints_it_
◆ func_
◆ io_ctx_
◆ last_ec_
◆ on_connect_failure_
std::function<void(std::string, uint16_t, std::error_code)> ConnectorBase::on_connect_failure_ |
|
protected |
◆ on_connect_success_
std::function<void(std::string, uint16_t)> ConnectorBase::on_connect_success_ |
|
protected |
◆ on_is_destination_good_
std::function<bool(std::string, uint16_t)> ConnectorBase::on_is_destination_good_ |
|
protected |
◆ resolver_
◆ route_destination_
◆ server_endpoint_
◆ server_sock_
The documentation for this class was generated from the following files: