#include <statement_reader.h>
◆ ProtocolBase() [1/3]
◆ ProtocolBase() [2/3]
server_mock::ProtocolBase::ProtocolBase |
( |
const ProtocolBase & |
| ) |
|
|
delete |
◆ ProtocolBase() [3/3]
◆ ~ProtocolBase()
virtual server_mock::ProtocolBase::~ProtocolBase |
( |
| ) |
|
|
virtualdefault |
◆ async_receive()
template<class CompletionToken >
void server_mock::ProtocolBase::async_receive |
( |
CompletionToken && |
token | ) |
|
|
inline |
◆ async_send()
template<class CompletionToken >
void server_mock::ProtocolBase::async_send |
( |
CompletionToken && |
token | ) |
|
|
inline |
◆ async_send_tls()
template<class CompletionToken >
void server_mock::ProtocolBase::async_send_tls |
( |
CompletionToken && |
token | ) |
|
|
inline |
◆ auth_method_data() [1/2]
std::string server_mock::ProtocolBase::auth_method_data |
( |
| ) |
const |
|
inline |
◆ auth_method_data() [2/2]
void server_mock::ProtocolBase::auth_method_data |
( |
const std::string & |
auth_method_data | ) |
|
|
inline |
◆ auth_method_name() [1/2]
std::string server_mock::ProtocolBase::auth_method_name |
( |
| ) |
const |
|
inline |
◆ auth_method_name() [2/2]
void server_mock::ProtocolBase::auth_method_name |
( |
const std::string & |
auth_method_name | ) |
|
|
inline |
◆ authenticate()
bool server_mock::ProtocolBase::authenticate |
( |
const std::string & |
auth_method_name, |
|
|
const std::string & |
auth_method_data, |
|
|
const std::string & |
password, |
|
|
const std::vector< uint8_t > & |
auth_response |
|
) |
| |
|
static |
◆ cancel()
void server_mock::ProtocolBase::cancel |
( |
| ) |
|
◆ connection()
Connection & server_mock::ProtocolBase::connection |
( |
| ) |
|
|
inline |
◆ encode_error()
virtual void server_mock::ProtocolBase::encode_error |
( |
const ErrorResponse & |
resp | ) |
|
|
pure virtual |
◆ encode_ok()
virtual void server_mock::ProtocolBase::encode_ok |
( |
const OkResponse & |
resp | ) |
|
|
pure virtual |
◆ encode_resultset()
virtual void server_mock::ProtocolBase::encode_resultset |
( |
const ResultsetResponse & |
response | ) |
|
|
pure virtual |
◆ exec_timer()
◆ io_context()
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ recv_buffer() [1/2]
std::vector< uint8_t > & server_mock::ProtocolBase::recv_buffer |
( |
| ) |
|
|
inline |
◆ recv_buffer() [2/2]
const std::vector< uint8_t > & server_mock::ProtocolBase::recv_buffer |
( |
| ) |
const |
|
inline |
◆ send_buffer() [1/2]
std::vector< uint8_t > & server_mock::ProtocolBase::send_buffer |
( |
| ) |
|
|
inline |
◆ send_buffer() [2/2]
const std::vector< uint8_t > & server_mock::ProtocolBase::send_buffer |
( |
| ) |
const |
|
inline |
◆ server_auth_method_data() [1/2]
std::string server_mock::ProtocolBase::server_auth_method_data |
( |
| ) |
const |
|
inline |
◆ server_auth_method_data() [2/2]
void server_mock::ProtocolBase::server_auth_method_data |
( |
const std::string & |
auth_method_data | ) |
|
|
inline |
◆ server_auth_method_name() [1/2]
std::string server_mock::ProtocolBase::server_auth_method_name |
( |
| ) |
const |
|
inline |
◆ server_auth_method_name() [2/2]
void server_mock::ProtocolBase::server_auth_method_name |
( |
const std::string & |
auth_method_name | ) |
|
|
inline |
◆ terminate()
void server_mock::ProtocolBase::terminate |
( |
| ) |
|
|
inline |
terminate the current connection.
sets is_terminated(true) and cancels the current operation.
may be called from another thread.
◆ username() [1/2]
std::string server_mock::ProtocolBase::username |
( |
| ) |
const |
|
inline |
◆ username() [2/2]
void server_mock::ProtocolBase::username |
( |
const std::string & |
username | ) |
|
|
inline |
◆ auth_method_data_
std::string server_mock::ProtocolBase::auth_method_data_ {} |
|
protected |
◆ auth_method_name_
std::string server_mock::ProtocolBase::auth_method_name_ {} |
|
protected |
◆ conn_
◆ exec_timer_
◆ server_auth_method_data_
std::string server_mock::ProtocolBase::server_auth_method_data_ {} |
|
protected |
◆ server_auth_method_name_
std::string server_mock::ProtocolBase::server_auth_method_name_ {} |
|
protected |
◆ username_
std::string server_mock::ProtocolBase::username_ {} |
|
protected |
The documentation for this class was generated from the following files: