26#ifndef ROUTING_SRC_PROCESSORS_SESSION_CLASSIC_FLOW_H_
27#define ROUTING_SRC_PROCESSORS_SESSION_CLASSIC_FLOW_H_
29#include <system_error>
41 using Processor::Processor;
the classic protocol flow.
Definition: classic_flow.h:39
Stage stage_
Definition: classic_flow.h:61
stdx::expected< Processor::Result, std::error_code > greeting()
the handshake part.
Definition: classic_flow.cc:48
stdx::expected< Processor::Result, std::error_code > command()
the command part.
Definition: classic_flow.cc:58
void stage(Stage stage)
Definition: classic_flow.h:52
Stage stage() const
Definition: classic_flow.h:53
stdx::expected< Processor::Result, std::error_code > process() override
Definition: classic_flow.cc:32
Stage
Definition: classic_flow.h:43
std::optional< std::string_view > diagnostic_stage_name() const override
stage name of a staged processor.
Definition: classic_flow.cc:76
a processor base class with helper functions.
Definition: processor.h:109
Definition: expected.h:286