MySQL 8.0.40
Source Code Documentation
HttpRequestMainThread Class Reference
Inheritance diagram for HttpRequestMainThread:
[legend]

Public Member Functions

void bind (net::ip::tcp::acceptor &listen_sock, const std::string &address, uint16_t port)
 
- Public Member Functions inherited from HttpRequestThread
 HttpRequestThread ()
 
 HttpRequestThread (HttpRequestThread &&object)
 
native_handle_type get_socket_fd ()
 
void accept_socket ()
 
void set_request_router (HttpRequestRouter &router)
 
void wait_and_dispatch ()
 
void break_dispatching ()
 
void wait_until_ready ()
 

Static Private Member Functions

static stdx::expected< void, std::error_code > bind_acceptor (net::ip::tcp::acceptor &sock, const std::string &address, uint16_t port)
 

Additional Inherited Members

- Public Types inherited from HttpRequestThread
using native_handle_type = EventBaseSocket
 
- Protected Member Functions inherited from HttpRequestThread
bool is_initalized () const
 
void initialization_finished ()
 
- Static Protected Member Functions inherited from HttpRequestThread
static void on_event_loop_ready (native_handle_type, short, void *)
 
- Protected Attributes inherited from HttpRequestThread
EventBase event_base_
 
EventHttp event_http_ {&event_base_}
 
native_handle_type accept_fd_ {kEventBaseInvalidSocket}
 
WaitableMonitor< bool > initialized_ {false}
 

Member Function Documentation

◆ bind()

void HttpRequestMainThread::bind ( net::ip::tcp::acceptor listen_sock,
const std::string &  address,
uint16_t  port 
)
inline

◆ bind_acceptor()

static stdx::expected< void, std::error_code > HttpRequestMainThread::bind_acceptor ( net::ip::tcp::acceptor sock,
const std::string &  address,
uint16_t  port 
)
inlinestaticprivate

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