26#ifndef ROUTING_CLASSIC_LAZY_CONNECT_INCLUDED
27#define ROUTING_CLASSIC_LAZY_CONNECT_INCLUDED
29#include <system_error>
attach a server connection and initialize it.
Definition: classic_lazy_connect.h:47
stdx::expected< Processor::Result, std::error_code > authenticated()
Definition: classic_lazy_connect.cc:241
stdx::expected< Processor::Result, std::error_code > set_vars_done()
Definition: classic_lazy_connect.cc:340
stdx::expected< Processor::Result, std::error_code > connected()
the handshake part.
Definition: classic_lazy_connect.cc:191
stdx::expected< Processor::Result, std::error_code > set_server_option_done()
Definition: classic_lazy_connect.cc:368
stdx::expected< Processor::Result, std::error_code > process() override
Definition: classic_lazy_connect.cc:133
stdx::expected< Processor::Result, std::error_code > fetch_sys_vars_done()
Definition: classic_lazy_connect.cc:410
std::function< void(const classic_protocol::message::server::Error &err)> on_error_
Definition: classic_lazy_connect.h:107
stdx::expected< Processor::Result, std::error_code > set_schema_done()
Definition: classic_lazy_connect.cc:432
Stage stage_
Definition: classic_lazy_connect.h:102
stdx::expected< Processor::Result, std::error_code > set_schema()
Definition: classic_lazy_connect.cc:415
bool in_handshake_
Definition: classic_lazy_connect.h:104
stdx::expected< Processor::Result, std::error_code > fetch_sys_vars()
Definition: classic_lazy_connect.cc:374
stdx::expected< Processor::Result, std::error_code > set_server_option()
Definition: classic_lazy_connect.cc:346
Stage stage() const
Definition: classic_lazy_connect.h:87
Stage
Definition: classic_lazy_connect.h:68
stdx::expected< Processor::Result, std::error_code > connect()
Definition: classic_lazy_connect.cc:164
void stage(Stage stage)
Definition: classic_lazy_connect.h:86
stdx::expected< Processor::Result, std::error_code > set_vars()
Definition: classic_lazy_connect.cc:289
LazyConnector(MysqlRoutingClassicConnectionBase *conn, bool in_handshake, std::function< void(const classic_protocol::message::server::Error &err)> on_error)
create a lazy-connector.
Definition: classic_lazy_connect.h:60
Definition: classic_connection_base.h:221
a processor base class with helper functions.
Definition: processor.h:89
Definition: expected.h:944
borrowable::message::server::Error< false > Error
Definition: classic_protocol_message.h:1399
static Value err()
Create a Value object that represents an error condition.
Definition: json_binary.cc:910
Definition: gcs_xcom_synode.h:64