26#ifndef SHARED_MEMORY_CONNECTION_INCLUDED
27#define SHARED_MEMORY_CONNECTION_INCLUDED
Kerberos Client Authentication nullptr
Definition: auth_kerberos_client_plugin.cc:251
This abstract base class represents connection channel information about a new connection.
Definition: channel_info.h:47
This class abstract a shared memory listener to listen for connection events that connect via the sha...
Definition: shared_memory_connection.h:39
HANDLE m_connect_named_mutex
Definition: shared_memory_connection.h:43
std::string m_shared_mem_name
Definition: shared_memory_connection.h:40
SECURITY_ATTRIBUTES * m_sa_mutex
Definition: shared_memory_connection.h:48
HANDLE m_event_conn_closed
Definition: shared_memory_connection.h:59
char * m_temp_buffer
Definition: shared_memory_connection.h:51
int m_connect_number
Definition: shared_memory_connection.h:49
char * m_suffix_pos
Definition: shared_memory_connection.h:50
Channel_info * listen_for_connection_event()
The body of the event loop that listen for connection events from clients.
Definition: shared_memory_connection.cc:219
HANDLE m_handle_client_file_map
Definition: shared_memory_connection.h:53
bool setup_listener()
Set up a listener.
Definition: shared_memory_connection.cc:140
HANDLE m_event_server_read
Definition: shared_memory_connection.h:58
char * m_connect_map
Definition: shared_memory_connection.h:42
HANDLE m_connect_file_map
Definition: shared_memory_connection.h:41
void close_listener()
Close the listener.
Definition: shared_memory_connection.cc:328
SECURITY_ATTRIBUTES * m_sa_mapping
Definition: shared_memory_connection.h:47
bool check_and_spawn_admin_connection_handler_thread() const
Spawn admin connection handler thread if separate thread is required to accept admin connections.
Definition: shared_memory_connection.h:115
HANDLE m_event_connect_request
Definition: shared_memory_connection.h:44
void close_shared_mem()
Definition: shared_memory_connection.cc:127
char * m_handle_client_map
Definition: shared_memory_connection.h:54
HANDLE m_event_client_wrote
Definition: shared_memory_connection.h:55
HANDLE m_event_client_read
Definition: shared_memory_connection.h:56
Shared_mem_listener(const std::string *shared_memory_base_name)
Constructor to create shared memory listener.
Definition: shared_memory_connection.h:69
HANDLE m_event_connect_answer
Definition: shared_memory_connection.h:45
HANDLE m_event_server_wrote
Definition: shared_memory_connection.h:57
SECURITY_ATTRIBUTES * m_sa_event
Definition: shared_memory_connection.h:46
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:36
static char * shared_memory_base_name
Definition: mysqltest.cc:198
#define HANDLE
Definition: violite.h:159