#include <classic_connect.h>
|
enum class | Stage {
InitDestination
, Resolve
, InitEndpoint
, NextEndpoint
,
NextDestination
, InitConnect
, FromPool
, Connect
,
ConnectFinish
, Connected
, Error
, Done
} |
|
using | server_protocol_type = net::ip::tcp |
|
enum class | Result {
Again
, RecvFromClient
, SendToClient
, RecvFromServer
,
RecvFromBoth
, SendToServer
, SendableToServer
, Suspend
,
Done
, Void
} |
|
|
stdx::expected< Processor::Result, std::error_code > | init_destination () |
|
stdx::expected< Processor::Result, std::error_code > | resolve () |
|
stdx::expected< Processor::Result, std::error_code > | init_endpoint () |
|
stdx::expected< Processor::Result, std::error_code > | next_endpoint () |
|
stdx::expected< Processor::Result, std::error_code > | next_destination () |
|
stdx::expected< Processor::Result, std::error_code > | init_connect () |
|
stdx::expected< Processor::Result, std::error_code > | from_pool () |
|
stdx::expected< Processor::Result, std::error_code > | connect () |
|
stdx::expected< Processor::Result, std::error_code > | connect_finish () |
|
stdx::expected< Processor::Result, std::error_code > | connected () |
|
stdx::expected< Processor::Result, std::error_code > | error () |
|
◆ server_protocol_type
◆ Stage
Enumerator |
---|
InitDestination | |
Resolve | |
InitEndpoint | |
NextEndpoint | |
NextDestination | |
InitConnect | |
FromPool | |
Connect | |
ConnectFinish | |
Connected | |
Error | |
Done | |
◆ ConnectProcessor()
◆ connect()
◆ connect_finish()
◆ connected()
◆ error()
◆ from_pool()
◆ init_connect()
◆ init_destination()
◆ init_endpoint()
◆ is_destination_good()
bool ConnectProcessor::is_destination_good |
( |
const std::string & |
hostname, |
|
|
uint16_t |
port |
|
) |
| const |
◆ next_destination()
◆ next_endpoint()
◆ process()
◆ resolve()
◆ stage() [1/2]
Stage ConnectProcessor::stage |
( |
| ) |
const |
|
inline |
◆ stage() [2/2]
void ConnectProcessor::stage |
( |
Stage |
stage | ) |
|
|
inline |
◆ all_quarantined_
bool ConnectProcessor::all_quarantined_ {false} |
|
private |
◆ connect_errors_
std::vector<std::pair<std::string, std::error_code> > ConnectProcessor::connect_errors_ |
|
private |
◆ connect_started_
std::chrono::steady_clock::time_point ConnectProcessor::connect_started_ |
|
private |
◆ destination_ec_
std::error_code ConnectProcessor::destination_ec_ |
|
private |
◆ destinations_
◆ destinations_it_
◆ endpoints_
◆ endpoints_it_
◆ io_ctx_
◆ on_error_
◆ resolver_
◆ server_endpoint_
◆ stage_
The documentation for this class was generated from the following files: