MySQL 8.4.2
Source Code Documentation
|
Public Types | |
using | client_protocol_type = Protocol |
using | socket_type = typename client_protocol_type::socket |
using | acceptor_socket_type = typename client_protocol_type::acceptor |
using | acceptor_endpoint_type = typename client_protocol_type::endpoint |
using | server_protocol_type = net::ip::tcp |
Public Member Functions | |
Acceptor (MySQLRouting *r, std::list< IoThread > &io_threads, acceptor_socket_type &acceptor_socket, const acceptor_endpoint_type &acceptor_endpoint, WaitableMonitor< Nothing > &waitable) | |
Acceptor (const Acceptor &)=delete | |
Acceptor (Acceptor &&)=default | |
Acceptor & | operator= (const Acceptor &)=delete |
Acceptor & | operator= (Acceptor &&)=default |
~Acceptor () | |
template<typename S > | |
void | graceful_shutdown (S &sock) |
void | operator() (std::error_code ec) |
Private Attributes | |
MySQLRouting * | r_ |
std::list< IoThread > & | io_threads_ |
acceptor_socket_type & | acceptor_socket_ |
const acceptor_endpoint_type & | acceptor_endpoint_ |
std::list< IoThread >::iterator | cur_io_thread_ |
WaitableMonitor< Nothing > & | waitable_ |
bool | debug_is_logged_ {} |
Owner | last_one_ |
using Acceptor< Protocol >::acceptor_endpoint_type = typename client_protocol_type::endpoint |
using Acceptor< Protocol >::acceptor_socket_type = typename client_protocol_type::acceptor |
using Acceptor< Protocol >::client_protocol_type = Protocol |
using Acceptor< Protocol >::server_protocol_type = net::ip::tcp |
using Acceptor< Protocol >::socket_type = typename client_protocol_type::socket |
|
inline |
|
inline |
|
default |
|
delete |
|
private |
|
private |
|
private |
|
private |
|
private |