26#ifndef ROUTING_CLASSIC_CHANGE_USER_SENDER_INCLUDED 
   27#define ROUTING_CLASSIC_CHANGE_USER_SENDER_INCLUDED 
   36  using ForwardingProcessor::ForwardingProcessor;
 
   57  static constexpr std::string_view 
prefix() { 
return "change_user"; }
 
sends COM_CHANGE_USER from router to the server.
Definition: classic_change_user_sender.h:34
 
stdx::expected< Result, std::error_code > initial_response()
Definition: classic_change_user_sender.cc:309
 
stdx::expected< Result, std::error_code > ok()
Definition: classic_change_user_sender.cc:347
 
TraceEvent * parent_event_
Definition: classic_change_user_sender.h:80
 
static constexpr std::string_view prefix()
Definition: classic_change_user_sender.h:57
 
stdx::expected< Result, std::error_code > error()
Definition: classic_change_user_sender.cc:398
 
std::function< void(const classic_protocol::message::server::Error &err)> on_error_
Definition: classic_change_user_sender.h:78
 
void stage(Stage stage)
Definition: classic_change_user_sender.h:61
 
stdx::expected< Result, std::error_code > process() override
Definition: classic_change_user_sender.cc:52
 
TraceEvent * trace_event_command_
Definition: classic_change_user_sender.h:81
 
stdx::expected< Result, std::error_code > command()
Definition: classic_change_user_sender.cc:267
 
Stage stage() const
Definition: classic_change_user_sender.h:62
 
Stage stage_
Definition: classic_change_user_sender.h:71
 
bool in_handshake_
Definition: classic_change_user_sender.h:73
 
ChangeUserSender(MysqlRoutingClassicConnectionBase *conn, bool in_handshake, std::function< void(const classic_protocol::message::server::Error &)> on_error, TraceEvent *parent_event)
Definition: classic_change_user_sender.h:38
 
stdx::expected< Result, std::error_code > final_response()
Definition: classic_change_user_sender.cc:317
 
Stage
Definition: classic_change_user_sender.h:48
 
std::optional< classic_protocol::message::client::ChangeUser > change_user_msg_
Definition: classic_change_user_sender.h:75
 
a processor base class with helper functions.
Definition: forwarding_processor.h:38
 
Definition: classic_connection_base.h:57
 
Definition: expected.h:286
 
borrowable::message::server::Error< false > Error
Definition: classic_protocol_message.h:1411
 
static Value err()
Create a Value object that represents an error condition.
Definition: json_binary.cc:924
 
Definition: gcs_xcom_synode.h:64
 
Definition: trace_span.h:35