MySQL 8.0.40
Source Code Documentation
|
splices two connections together. More...
#include <basic_protocol_splicer.h>
Public Member Functions | |
ProtocolSplicerBase (TlsSwitchableConnection client_conn, TlsSwitchableConnection server_conn) | |
template<class Func > | |
void | async_wait_send_server (Func &&func) |
template<class Func > | |
void | async_recv_server (Func &&func) |
template<class Func > | |
void | async_send_server (Func &&func) |
template<class Func > | |
void | async_recv_client (Func &&func) |
template<class Func > | |
void | async_send_client (Func &&func) |
template<class Func > | |
void | async_client_wait_error (Func &&func) |
TlsSwitchableConnection & | client_conn () |
const TlsSwitchableConnection & | client_conn () const |
TlsSwitchableConnection & | server_conn () |
const TlsSwitchableConnection & | server_conn () const |
SslMode | source_ssl_mode () const |
SslMode | dest_ssl_mode () const |
Channel * | client_channel () |
const Channel * | client_channel () const |
Channel * | server_channel () |
stdx::expected< void, std::error_code > | tls_accept () |
accept a TLS connection from the client_channel_. More... | |
Protected Attributes | |
TlsSwitchableConnection | client_conn_ |
TlsSwitchableConnection | server_conn_ |
splices two connections together.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
accept a TLS connection from the client_channel_.
|
protected |
|
protected |