MySQL 9.0.0
Source Code Documentation
|
base class of all the processors. More...
#include <processor.h>
Public Types | |
enum class | Result { Again , RecvFromClient , SendToClient , RecvFromServer , RecvFromBoth , SendToServer , SendableToServer , Suspend , Done , Void } |
Public Member Functions | |
BasicProcessor (MysqlRoutingClassicConnectionBase *conn) | |
virtual | ~BasicProcessor ()=default |
const MysqlRoutingClassicConnectionBase * | connection () const |
MysqlRoutingClassicConnectionBase * | connection () |
virtual stdx::expected< Result, std::error_code > | process ()=0 |
Private Attributes | |
MysqlRoutingClassicConnectionBase * | conn_ |
base class of all the processors.
Processor
Processors are stacked.
The methods:
allow to add and remove elements for the stack.
The top-most processor's process() function is called.
|
strong |
|
inline |
|
virtualdefault |
|
inline |
|
inline |
|
pure virtual |
Implemented in AwaitClientOrServerProcessor, AuthCachingSha2Forwarder, AuthCachingSha2Sender, AuthCleartextForwarder, AuthCleartextSender, AuthGenericForwarder, AuthForwarder, AuthNativeForwarder, AuthNativeSender, AuthSha256Forwarder, AuthSha256Sender, BinlogDumpForwarder, ChangeUserForwarder, ChangeUserSender, CloneForwarder, CommandProcessor, ConnectProcessor, DebugForwarder, FlowProcessor, ClientToServerForwarder, ServerToClientForwarder, SendProcessor< toServer >, ServerGreetor, ServerFirstConnector, ServerFirstAuthenticator, ClientGreetor, InitSchemaForwarder, InitSchemaSender, KillForwarder, LazyConnector, ListFieldsForwarder, PingForwarder, QueryForwarder, QuerySender, QuitForwarder, QuitSender, RegisterReplicaForwarder, ReloadForwarder, ResetConnectionForwarder, ResetConnectionSender, SetOptionForwarder, SetOptionSender, StatisticsForwarder, StmtCloseForwarder, StmtExecuteForwarder, StmtFetchForwarder, StmtParamAppendDataForwarder, StmtPrepareForwarder, and StmtResetForwarder.
|
private |