26#ifndef CONNECTION_ACCEPTOR_INCLUDED
27#define CONNECTION_ACCEPTOR_INCLUDED
42template <
typename Listener>
77 return m_listener->check_and_spawn_admin_connection_handler_thread();
This abstract base class represents connection channel information about a new connection.
Definition: channel_info.h:47
This class presents a generic interface to initialize and run a connection event loop for different t...
Definition: connection_acceptor.h:43
Listener * m_listener
Definition: connection_acceptor.h:44
void close_listener()
Close the listener.
Definition: connection_acceptor.h:83
void connection_event_loop()
Connection acceptor loop to accept connections from clients.
Definition: connection_acceptor.h:61
Connection_acceptor(Listener *listener)
Definition: connection_acceptor.h:47
bool check_and_spawn_admin_connection_handler_thread() const
Spawn admin connection handler to accept admin connections from clients if create-admin-listener-thre...
Definition: connection_acceptor.h:76
~Connection_acceptor()
Definition: connection_acceptor.h:49
bool init_connection_acceptor()
Initialize a connection acceptor.
Definition: connection_acceptor.h:56
This is a singleton class that provides various connection management related functionalities,...
Definition: connection_handler_manager.h:59
void process_new_connection(Channel_info *channel_info)
Process a new incoming connection.
Definition: connection_handler_manager.cc:256
static Connection_handler_manager * get_instance()
Singleton method to return an instance of this class.
Definition: connection_handler_manager.h:143
bool connection_events_loop_aborted()
Definition: mysqld.h:752