MySQL 8.0.39
Source Code Documentation
|
This class abstracts the info. More...
Public Member Functions | |
Channel_info_tcpip_socket (MYSQL_SOCKET connect_socket, bool is_admin_conn) | |
Constructor that sets the connect socket. More... | |
THD * | create_thd () override |
Instantiate and initialize THD object and vio. More... | |
void | send_error_and_close_channel (uint errorcode, int error, bool senderror) override |
Send error back to the client and close the channel. More... | |
bool | is_admin_connection () const override |
void | set_network_namespace (const std::string &network_namespace) |
Set a network namespace for channel. More... | |
Public Member Functions inherited from Channel_info | |
virtual | ~Channel_info ()=default |
ulonglong | get_prior_thr_create_utime () const |
void | set_prior_thr_create_utime () |
Protected Member Functions | |
Vio * | create_and_init_vio () const override |
Create and initialize a Vio object. More... | |
Protected Member Functions inherited from Channel_info | |
Channel_info () | |
Private Attributes | |
MYSQL_SOCKET | m_connect_sock |
bool | m_is_admin_conn |
std::string | m_network_namespace |
This class abstracts the info.
about TCP/IP socket mode of communication with the server.
|
inline |
Constructor that sets the connect socket.
connect_socket | set connect socket descriptor. |
is_admin_conn | flag specifying whether a connection is admin connection. |
|
inlineoverrideprotectedvirtual |
Create and initialize a Vio object.
Implements Channel_info.
|
inlineoverridevirtual |
Instantiate and initialize THD object and vio.
NULL | THD object allocation fails. |
Reimplemented from Channel_info.
|
inlineoverridevirtual |
Reimplemented from Channel_info.
|
inlineoverridevirtual |
Send error back to the client and close the channel.
errorcode | code indicating type of error. |
error | operating system specific error code. |
senderror | true if the error need to be sent to client else false. |
Reimplemented from Channel_info.
|
inline |
Set a network namespace for channel.
network_namespace | Network namespace associated with a channel. |
|
private |
|
private |
|
private |