26#ifndef ROUTING_CLASSIC_FORWARDER_INCLUDED
27#define ROUTING_CLASSIC_FORWARDER_INCLUDED
36 using Processor::Processor;
58 bool flush_before_next_func_optional =
true)
87 bool flush_before_next_func_optional =
true)
forward a mysql packet from the client to the server.
Definition: classic_forwarder.h:50
stdx::expected< Result, std::error_code > forward()
Definition: classic_forwarder.cc:304
stdx::expected< ForwardResult, std::error_code > forward_frame_sequence()
Definition: classic_forwarder.cc:350
Stage stage() const
Definition: classic_forwarder.h:65
ClientToServerForwarder(MysqlRoutingClassicConnectionBase *conn, bool flush_before_next_func_optional=true)
Definition: classic_forwarder.h:57
bool flush_before_next_func_optional_
Definition: classic_forwarder.h:71
stdx::expected< Result, std::error_code > process() override
Definition: classic_forwarder.cc:292
Stage stage_
Definition: classic_forwarder.h:73
Stage
Definition: classic_forwarder.h:52
void stage(Stage stage)
Definition: classic_forwarder.h:64
a generic forwarder for mysql packets.
Definition: classic_forwarder.h:34
ForwardResult
Definition: classic_forwarder.h:38
Definition: classic_connection_base.h:56
a processor base class with helper functions.
Definition: processor.h:91
forward a mysql packet from the server to the client.
Definition: classic_forwarder.h:79
stdx::expected< ForwardResult, std::error_code > forward_frame_sequence()
Definition: classic_forwarder.cc:278
void stage(Stage stage)
Definition: classic_forwarder.h:93
stdx::expected< Result, std::error_code > process() override
Definition: classic_forwarder.cc:218
ServerToClientForwarder(MysqlRoutingClassicConnectionBase *conn, bool flush_before_next_func_optional=true)
Definition: classic_forwarder.h:86
Stage stage() const
Definition: classic_forwarder.h:94
stdx::expected< Result, std::error_code > forward()
Definition: classic_forwarder.cc:230
Stage stage_
Definition: classic_forwarder.h:102
Stage
Definition: classic_forwarder.h:81
bool flush_before_next_func_optional_
Definition: classic_forwarder.h:100
Definition: expected.h:284