26#ifndef ROUTING_SRC_PROCESSORS_FORWARDERS_CLASSIC_RESET_CONNECTION_FORWARDER_H_
27#define ROUTING_SRC_PROCESSORS_FORWARDERS_CLASSIC_RESET_CONNECTION_FORWARDER_H_
33 using ForwardingProcessor::ForwardingProcessor;
59 const std::optional<classic_protocol::message::server::Error> &
err) {
63 std::optional<classic_protocol::message::server::Error>
failed()
const {
83 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:83
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:340
stdx::expected< Result, std::error_code > fetch_sys_vars_done()
Definition: classic_reset_connection_forwarder.cc:556
int round_
Definition: classic_reset_connection_forwarder.h:85
stdx::expected< Result, std::error_code > response()
Definition: classic_reset_connection_forwarder.cc:364
void failed(const std::optional< classic_protocol::message::server::Error > &err)
Definition: classic_reset_connection_forwarder.h:58
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:618
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:566
stdx::expected< Result, std::error_code > ok()
Definition: classic_reset_connection_forwarder.cc:390
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:507
Stage stage_
Definition: classic_reset_connection_forwarder.h:81
std::optional< classic_protocol::message::server::Error > failed() const
Definition: classic_reset_connection_forwarder.h:63
std::optional< std::string_view > diagnostic_stage_name() const override
stage name of a staged processor.
Definition: classic_reset_connection_forwarder.cc:632
stdx::expected< Result, std::error_code > set_vars()
Definition: classic_reset_connection_forwarder.cc:449
Stage
Definition: classic_reset_connection_forwarder.h:35
stdx::expected< Result, std::error_code > fetch_sys_vars()
Definition: classic_reset_connection_forwarder.cc:517
stdx::expected< Result, std::error_code > connect()
Definition: classic_reset_connection_forwarder.cc:330
Stage stage() const
Definition: classic_reset_connection_forwarder.h:54
Definition: expected.h:286
static Value err()
Create a Value object that represents an error condition.
Definition: json_binary.cc:943