26#ifndef NAMED_PIPE_CONNECTION_INCLUDED
27#define NAMED_PIPE_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 abstracts Named pipe listener that setups a named pipe handle to listen and receive client...
Definition: named_pipe_connection.h:39
Channel_info * listen_for_connection_event()
The body of the event loop that listen for connection events from clients.
Definition: named_pipe_connection.cc:106
SECURITY_ATTRIBUTES * mp_sa_pipe_security
Definition: named_pipe_connection.h:41
HANDLE m_pipe_handle
Definition: named_pipe_connection.h:42
Named_pipe_listener(const std::string *pipe_name)
Constructor for named pipe listener.
Definition: named_pipe_connection.h:53
char m_pipe_path_name[512]
Definition: named_pipe_connection.h:43
bool setup_listener()
Set up a listener.
Definition: named_pipe_connection.cc:90
bool update_named_pipe_full_access_group(const char *new_group_name)
Set the Windows group name whose users have full access to new instances of the named pipe.
Definition: named_pipe_connection.cc:181
OVERLAPPED m_connect_overlapped
Definition: named_pipe_connection.h:45
std::string m_pipe_name
Definition: named_pipe_connection.h:40
HANDLE h_connected_pipe
Definition: named_pipe_connection.h:44
void close_listener()
Close the listener.
Definition: named_pipe_connection.cc:245
bool check_and_spawn_admin_connection_handler_thread() const
Spawn admin connection handler thread if separate thread is required to accept admin connections.
Definition: named_pipe_connection.h:92
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:36
#define HANDLE
Definition: violite.h:159