|
stdx::expected< size_t, std::error_code > | read_packet (std::vector< uint8_t > &payload) |
|
void | encode_error (const ErrorResponse &msg) override |
|
void | encode_ok (const OkResponse &msg) override |
|
void | encode_resultset (const ResultsetResponse &response) override |
|
void | encode_auth_fast_message () |
|
void | encode_auth_switch_message (const classic_protocol::message::server::AuthMethodSwitch &msg) |
|
void | encode_server_greeting (const classic_protocol::message::server::Greeting &greeting) |
|
void | seq_no (uint8_t no) |
|
uint8_t | seq_no () const |
|
classic_protocol::capabilities::value_type | server_capabilities () const |
|
void | server_capabilities (classic_protocol::capabilities::value_type v) |
|
classic_protocol::capabilities::value_type | client_capabilities () const |
|
void | client_capabilities (classic_protocol::capabilities::value_type v) |
|
classic_protocol::capabilities::value_type | shared_capabilities () const |
|
| ProtocolBase (mysql_harness::DestinationSocket sock, mysql_harness::DestinationEndpoint ep, TlsServerContext &tls_ctx) |
|
| ProtocolBase (const ProtocolBase &)=delete |
|
| ProtocolBase (ProtocolBase &&)=delete |
|
| ProtocolBase (mysql_harness::DestinationSocket sock, mysql_harness::DestinationEndpoint ep, TlsServerContext &tls_ctx) |
|
| ProtocolBase (const ProtocolBase &)=delete |
|
| ProtocolBase (ProtocolBase &&)=delete |
|
ProtocolBase & | operator= (const ProtocolBase &)=delete |
|
ProtocolBase & | operator= (ProtocolBase &&rhs)=delete |
|
virtual | ~ProtocolBase ()=default |
|
template<class CompletionToken > |
void | async_send_tls (CompletionToken &&token) |
|
template<class CompletionToken > |
void | async_send (CompletionToken &&token) |
|
template<class CompletionToken > |
void | async_receive (CompletionToken &&token) |
|
const std::vector< uint8_t > & | send_buffer () const |
|
std::vector< uint8_t > & | send_buffer () |
|
const std::vector< uint8_t > & | recv_buffer () const |
|
std::vector< uint8_t > & | recv_buffer () |
|
void | username (const std::string &username) |
|
std::string | username () const |
|
void | server_auth_method_name (const std::string &auth_method_name) |
|
std::string | server_auth_method_name () const |
|
void | server_auth_method_data (const std::string &auth_method_data) |
|
std::string | server_auth_method_data () const |
|
void | auth_method_name (const std::string &auth_method_name) |
|
std::string | auth_method_name () const |
|
void | auth_method_data (const std::string &auth_method_data) |
|
std::string | auth_method_data () const |
|
net::steady_timer & | exec_timer () |
|
void | cancel () |
|
void | terminate () |
| terminate the current connection. More...
|
|
net::io_context & | io_context () |
|
Connection & | connection () |
|