26#ifndef ROUTING_CLASSIC_RESET_CONNECTION_FORWARDER_INCLUDED
27#define ROUTING_CLASSIC_RESET_CONNECTION_FORWARDER_INCLUDED
33 using ForwardingProcessor::ForwardingProcessor;
57 const std::optional<classic_protocol::message::server::Error> &
err) {
61 std::optional<classic_protocol::message::server::Error>
failed()
const {
81 std::optional<classic_protocol::message::server::Error>
failed_;
a processor base class with helper functions.
Definition: forwarding_processor.h:38
Definition: classic_reset_connection_forwarder.h:31
std::optional< classic_protocol::message::server::Error > failed_
Definition: classic_reset_connection_forwarder.h:81
stdx::expected< Result, std::error_code > start_loop()
Definition: classic_reset_connection_forwarder.cc:271
stdx::expected< Result, std::error_code > connected()
Definition: classic_reset_connection_forwarder.cc:341
stdx::expected< Result, std::error_code > fetch_sys_vars_done()
Definition: classic_reset_connection_forwarder.cc:558
int round_
Definition: classic_reset_connection_forwarder.h:83
stdx::expected< Result, std::error_code > response()
Definition: classic_reset_connection_forwarder.cc:366
void failed(const std::optional< classic_protocol::message::server::Error > &err)
Definition: classic_reset_connection_forwarder.h:56
stdx::expected< Result, std::error_code > command()
Definition: classic_reset_connection_forwarder.cc:223
stdx::expected< Result, std::error_code > send_ok()
Definition: classic_reset_connection_forwarder.cc:620
void stage(Stage stage)
Definition: classic_reset_connection_forwarder.h:53
stdx::expected< Result, std::error_code > end_loop()
Definition: classic_reset_connection_forwarder.cc:568
stdx::expected< Result, std::error_code > ok()
Definition: classic_reset_connection_forwarder.cc:392
stdx::expected< Result, std::error_code > process() override
forward the reset-connection message flow.
Definition: classic_reset_connection_forwarder.cc:189
stdx::expected< Result, std::error_code > set_vars_done()
Definition: classic_reset_connection_forwarder.cc:509
Stage stage_
Definition: classic_reset_connection_forwarder.h:79
std::optional< classic_protocol::message::server::Error > failed() const
Definition: classic_reset_connection_forwarder.h:61
stdx::expected< Result, std::error_code > set_vars()
Definition: classic_reset_connection_forwarder.cc:451
Stage
Definition: classic_reset_connection_forwarder.h:35
stdx::expected< Result, std::error_code > fetch_sys_vars()
Definition: classic_reset_connection_forwarder.cc:519
stdx::expected< Result, std::error_code > connect()
Definition: classic_reset_connection_forwarder.cc:331
Stage stage() const
Definition: classic_reset_connection_forwarder.h:54
Definition: expected.h:284
static Value err()
Create a Value object that represents an error condition.
Definition: json_binary.cc:927