MySQL 8.0.39
Source Code Documentation
AcceptingEndpoint Class Referenceabstract

#include <mysql_routing.h>

Inheritance diagram for AcceptingEndpoint:
[legend]

Public Member Functions

 AcceptingEndpoint (net::io_context &io_ctx, const std::string &parent_routing_name)
 
virtual stdx::expected< void, std::error_code > setup ()=0
 
virtual stdx::expected< void, std::error_code > cancel ()=0
 
virtual bool is_open () const =0
 
virtual void start (MySQLRouting *r, std::list< IoThread > &, WaitableMonitor< Nothing > &waitable)=0
 
virtual std::string name ()=0
 
virtual ~AcceptingEndpoint ()
 

Protected Attributes

net::io_contextio_ctx_
 
std::string parent_routing_name_
 

Constructor & Destructor Documentation

◆ AcceptingEndpoint()

AcceptingEndpoint::AcceptingEndpoint ( net::io_context io_ctx,
const std::string &  parent_routing_name 
)
inline

◆ ~AcceptingEndpoint()

virtual AcceptingEndpoint::~AcceptingEndpoint ( )
inlinevirtual

Member Function Documentation

◆ cancel()

virtual stdx::expected< void, std::error_code > AcceptingEndpoint::cancel ( )
pure virtual

◆ is_open()

virtual bool AcceptingEndpoint::is_open ( ) const
pure virtual

◆ name()

virtual std::string AcceptingEndpoint::name ( )
pure virtual

◆ setup()

virtual stdx::expected< void, std::error_code > AcceptingEndpoint::setup ( )
pure virtual

◆ start()

virtual void AcceptingEndpoint::start ( MySQLRouting r,
std::list< IoThread > &  ,
WaitableMonitor< Nothing > &  waitable 
)
pure virtual

Member Data Documentation

◆ io_ctx_

net::io_context& AcceptingEndpoint::io_ctx_
protected

◆ parent_routing_name_

std::string AcceptingEndpoint::parent_routing_name_
protected

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