MySQL 8.0.40
Source Code Documentation
|
#include <io_service_base.h>
Public Types | |
using | native_handle_type = impl::socket::native_handle_type |
Public Member Functions | |
virtual | ~IoServiceBase ()=default |
virtual stdx::expected< void, std::error_code > | open ()=0 |
open the io-service. More... | |
virtual void | notify ()=0 |
virtual stdx::expected< void, std::error_code > | add_fd_interest (native_handle_type fd, impl::socket::wait_type event)=0 |
virtual stdx::expected< fd_event, std::error_code > | poll_one (std::chrono::milliseconds timeout)=0 |
virtual stdx::expected< void, std::error_code > | remove_fd (native_handle_type fd)=0 |
|
virtualdefault |
|
pure virtual |
Implemented in net::poll_io_service, and net::linux_epoll_io_service.
|
pure virtual |
Implemented in net::linux_epoll_io_service, and net::poll_io_service.
|
pure virtual |
open the io-service.
MUST be called before any of the other functions is called.
may fail if out of file-descriptors.
Implemented in net::linux_epoll_io_service, and net::poll_io_service.
|
pure virtual |
Implemented in net::linux_epoll_io_service, and net::poll_io_service.
|
pure virtual |
Implemented in net::linux_epoll_io_service, and net::poll_io_service.