26#ifndef ROUTING_CLASSIC_PING_FORWARDER_INCLUDED
27#define ROUTING_CLASSIC_PING_FORWARDER_INCLUDED
33 using ForwardingProcessor::ForwardingProcessor;
46 static std::string_view
prefix() {
return "mysql/ping"; }
a processor base class with helper functions.
Definition: forwarding_processor.h:38
Definition: classic_ping_forwarder.h:31
stdx::expected< Result, std::error_code > connected()
Definition: classic_ping_forwarder.cc:90
static std::string_view prefix()
Definition: classic_ping_forwarder.h:46
stdx::expected< Result, std::error_code > forward()
Definition: classic_ping_forwarder.cc:123
Stage stage() const
Definition: classic_ping_forwarder.h:51
Stage
Definition: classic_ping_forwarder.h:35
TraceEvent * trace_event_connect_and_forward_command_
Definition: classic_ping_forwarder.h:65
stdx::expected< Result, std::error_code > forward_done()
Definition: classic_ping_forwarder.cc:129
stdx::expected< Result, std::error_code > connect()
Definition: classic_ping_forwarder.cc:81
stdx::expected< Result, std::error_code > ok()
Definition: classic_ping_forwarder.cc:164
stdx::expected< Result, std::error_code > command()
Definition: classic_ping_forwarder.cc:57
void stage(Stage stage)
Definition: classic_ping_forwarder.h:50
Stage stage_
Definition: classic_ping_forwarder.h:62
TraceEvent * trace_event_command_
Definition: classic_ping_forwarder.h:64
stdx::expected< Result, std::error_code > response()
Definition: classic_ping_forwarder.cc:138
stdx::expected< Result, std::error_code > process() override
Definition: classic_ping_forwarder.cc:34
TraceEvent * trace_event_forward_command_
Definition: classic_ping_forwarder.h:66
Definition: expected.h:284
Definition: trace_span.h:35