2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
43#ifndef DATABASE_MARIADB_MARIADBCONNECTION
44#define DATABASE_MARIADB_MARIADBCONNECTION
46#include "core/eventreceiver/ExceptionalConditionEventReceiver.h"
47#include "core/eventreceiver/ReadEventReceiver.h"
48#include "core/eventreceiver/WriteEventReceiver.h"
49#include "database/mariadb/MariaDBCommandSequence.h"
58#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)