26#ifndef ROUTING_CLASSIC_AWAIT_CLIENT_OR_SERVER_PROCESSOR_INCLUDED
27#define ROUTING_CLASSIC_AWAIT_CLIENT_OR_SERVER_PROCESSOR_INCLUDED
Definition: await_client_or_server.h:31
Stage
Definition: await_client_or_server.h:46
Stage stage() const
Definition: await_client_or_server.h:55
void stage(Stage stage)
Definition: await_client_or_server.h:54
AwaitClientOrServerProcessor(MysqlRoutingClassicConnectionBase *conn, std::function< void(stdx::expected< AwaitResult, std::error_code >)> on_done)
Definition: await_client_or_server.h:38
stdx::expected< Result, std::error_code > wait_both()
wait for an read-event from client and server at the same time.
Definition: await_client_or_server.cc:68
std::function< void(stdx::expected< AwaitResult, std::error_code >)> on_done_
Definition: await_client_or_server.h:64
stdx::expected< Result, std::error_code > init()
Definition: await_client_or_server.cc:49
stdx::expected< Result, std::error_code > wait_server_cancelled()
Definition: await_client_or_server.cc:104
Stage stage_
Definition: await_client_or_server.h:62
stdx::expected< Result, std::error_code > process() override
Definition: await_client_or_server.cc:31
AwaitResult
Definition: await_client_or_server.h:33
stdx::expected< Result, std::error_code > wait_client_cancelled()
read-event from server while waiting for client command.
Definition: await_client_or_server.cc:119
base class of all the processors.
Definition: processor.h:57
Definition: classic_connection_base.h:56
Definition: expected.h:284
Definition: gcs_xcom_synode.h:64