2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
21#ifndef DATABASE_MARIADB_MARIADBCONNECTION
22#define DATABASE_MARIADB_MARIADBCONNECTION
24#include "core/eventreceiver/ExceptionalConditionEventReceiver.h"
25#include "core/eventreceiver/ReadEventReceiver.h"
26#include "core/eventreceiver/WriteEventReceiver.h"
27#include "database/mariadb/MariaDBCommandSequence.h"
36#ifndef DOXYGEN_SHOULD_SKIP_THIS
MariaDBClient(const MariaDBConnectionDetails &details)
void execute_sync(MariaDBCommandSync *mariaDBCommand) final
MariaDBCommandSequence & execute_async(MariaDBCommand *mariaDBCommand) final
~MariaDBClient() override
MariaDBConnection * mariaDBConnection
MariaDBConnectionDetails details
void connectionVanished()
MariaDBCommandSequence()=default
MariaDBCommandSequence & execute_async(MariaDBCommand *mariaDBCommand) final
MariaDBConnection * mariaDBConnection
void onEvent(const utils::Timeval ¤tTime) override
MariaDBCommandStartEvent(const std::string &name, MariaDBConnection *mariaDBConnection)
void unobservedEvent() override
MariaDBCommandStartEvent commandStartEvent
void writeTimeout() override
void outOfBandTimeout() override
void outOfBandEvent() override
std::deque< MariaDBCommandSequence > commandSequenceQueue
void writeEvent() override
MariaDBCommand * currentCommand
MariaDBCommandSequence & execute_async(MariaDBCommandSequence &&commandSequence)
MariaDBConnection(MariaDBClient *mariaDBClient, const MariaDBConnectionDetails &connectionDetails)
~MariaDBConnection() override
void readTimeout() override
void commandContinue(int status)
void commandStart(const utils::Timeval ¤tTime)
void execute_sync(MariaDBCommand *mariaDBCommand)
MariaDBConnection(const MariaDBConnection &)=delete
MariaDBClient * mariaDBClient
void readEvent() override
MariaDBConnection & operator=(const MariaDBConnection &)=delete
void checkStatus(int status)