26#ifndef ROUTING_CLASSIC_FLOW_INCLUDED
27#define ROUTING_CLASSIC_FLOW_INCLUDED
29#include <system_error>
41 using Processor::Processor;
the classic protocol flow.
Definition: classic_flow.h:39
Stage stage_
Definition: classic_flow.h:59
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
a processor base class with helper functions.
Definition: processor.h:91
Definition: expected.h:284