#include <duktape_statement_reader.h>
◆ HandshakeState
Enumerator |
---|
INIT | |
GREETED | |
AUTH_SWITCHED | |
DONE | |
◆ DuktapeStatementReader() [1/3]
server_mock::DuktapeStatementReader::DuktapeStatementReader |
( |
std::string |
filename, |
|
|
std::vector< std::string > |
module_prefixes, |
|
|
std::map< std::string, std::function< std::string()> > |
session_data, |
|
|
std::shared_ptr< MockServerGlobalScope > |
shared_globals |
|
) |
| |
◆ DuktapeStatementReader() [2/3]
◆ DuktapeStatementReader() [3/3]
◆ ~DuktapeStatementReader()
server_mock::DuktapeStatementReader::~DuktapeStatementReader |
( |
| ) |
|
|
override |
◆ get_async_notices()
std::vector< AsyncNotice > server_mock::DuktapeStatementReader::get_async_notices |
( |
| ) |
|
|
overridevirtual |
◆ get_default_exec_time()
std::chrono::microseconds server_mock::DuktapeStatementReader::get_default_exec_time |
( |
| ) |
|
|
overridevirtual |
Returns the default execution time in microseconds.
If no default execution time is provided in json file, then 0 microseconds is returned.
Implements server_mock::StatementReaderBase.
◆ handle_statement()
void server_mock::DuktapeStatementReader::handle_statement |
( |
const std::string & |
statement, |
|
|
ProtocolBase * |
protocol |
|
) |
| |
|
overridevirtual |
handle the clients statement
- Parameters
-
statement | statement-text of the current clients COM_QUERY/StmtExecute |
protocol | protocol to send response to |
Implements server_mock::StatementReaderBase.
◆ handshake()
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ server_greeting()
◆ server_greeting_exec_time()
std::chrono::microseconds server_mock::DuktapeStatementReader::server_greeting_exec_time |
( |
| ) |
|
|
overridevirtual |
◆ set_session_ssl_info()
void server_mock::DuktapeStatementReader::set_session_ssl_info |
( |
const SSL * |
ssl | ) |
|
|
overridevirtual |
◆ handshake_state_
◆ has_notices_
bool server_mock::DuktapeStatementReader::has_notices_ {false} |
|
private |
◆ pimpl_
std::unique_ptr<Pimpl> server_mock::DuktapeStatementReader::pimpl_ |
|
private |
The documentation for this class was generated from the following files: