MySQL 8.0.39
Source Code Documentation
AcceptingEndpointUnixSocket Class Reference

#include <mysql_routing.h>

Inheritance diagram for AcceptingEndpointUnixSocket:
[legend]

Public Member Functions

 AcceptingEndpointUnixSocket (net::io_context &io_ctx, const std::string &parent_routing_name, const std::string &socket_name)
 
stdx::expected< void, std::error_code > setup () override
 
stdx::expected< void, std::error_code > cancel () override
 
bool is_open () const override
 
void start (MySQLRouting *r, std::list< IoThread > &, WaitableMonitor< Nothing > &waitable) override
 
std::string name () override
 
- Public Member Functions inherited from AcceptingEndpoint
 AcceptingEndpoint (net::io_context &io_ctx, const std::string &parent_routing_name)
 
virtual ~AcceptingEndpoint ()
 

Private Attributes

local::stream_protocol::acceptor service_
 
local::stream_protocol::endpoint service_endpoint_
 
std::string socket_name_
 

Additional Inherited Members

- Protected Attributes inherited from AcceptingEndpoint
net::io_contextio_ctx_
 
std::string parent_routing_name_
 

Constructor & Destructor Documentation

◆ AcceptingEndpointUnixSocket()

AcceptingEndpointUnixSocket::AcceptingEndpointUnixSocket ( net::io_context io_ctx,
const std::string &  parent_routing_name,
const std::string &  socket_name 
)

Member Function Documentation

◆ cancel()

stdx::expected< void, std::error_code > AcceptingEndpointUnixSocket::cancel ( )
overridevirtual

Implements AcceptingEndpoint.

◆ is_open()

bool AcceptingEndpointUnixSocket::is_open ( ) const
overridevirtual

Implements AcceptingEndpoint.

◆ name()

std::string AcceptingEndpointUnixSocket::name ( )
overridevirtual

Implements AcceptingEndpoint.

◆ setup()

stdx::expected< void, std::error_code > AcceptingEndpointUnixSocket::setup ( )
overridevirtual

Implements AcceptingEndpoint.

◆ start()

void AcceptingEndpointUnixSocket::start ( MySQLRouting r,
std::list< IoThread > &  io_threads,
WaitableMonitor< Nothing > &  waitable 
)
overridevirtual

Implements AcceptingEndpoint.

Member Data Documentation

◆ service_

local::stream_protocol::acceptor AcceptingEndpointUnixSocket::service_
private

◆ service_endpoint_

local::stream_protocol::endpoint AcceptingEndpointUnixSocket::service_endpoint_
private

◆ socket_name_

std::string AcceptingEndpointUnixSocket::socket_name_
private

The documentation for this class was generated from the following files: