MySQL 9.1.0
Source Code Documentation
|
virtual base-class of BasicConnection. More...
#include <connection_base.h>
Public Types | |
using | recv_buffer_type = std::vector< uint8_t, default_init_allocator< uint8_t > > |
Public Member Functions | |
virtual | ~ConnectionBase ()=default |
virtual net::io_context & | io_ctx ()=0 |
virtual void | async_recv (recv_buffer_type &, std::function< void(std::error_code ec, size_t transferred)>)=0 |
virtual void | async_send (recv_buffer_type &, std::function< void(std::error_code ec, size_t transferred)>)=0 |
virtual void | async_wait_send (std::function< void(std::error_code ec)>)=0 |
virtual void | async_wait_recv (std::function< void(std::error_code ec)>)=0 |
virtual void | async_wait_error (std::function< void(std::error_code ec)>)=0 |
virtual bool | is_open () const =0 |
virtual net::impl::socket::native_handle_type | native_handle () const =0 |
virtual stdx::expected< void, std::error_code > | close ()=0 |
virtual stdx::expected< void, std::error_code > | shutdown (net::socket_base::shutdown_type st)=0 |
virtual std::string | endpoint () const =0 |
virtual stdx::expected< void, std::error_code > | cancel ()=0 |
virtual bool | is_secure_transport () const =0 |
virtual stdx::expected< void, std::error_code > | set_io_context (net::io_context &new_ctx)=0 |
virtual base-class of BasicConnection.
using ConnectionBase::recv_buffer_type = std::vector<uint8_t, default_init_allocator<uint8_t> > |
|
virtualdefault |
|
pure virtual |
Implemented in BasicConnection< Protocol >.
|
pure virtual |
Implemented in BasicConnection< Protocol >.
|
pure virtual |
Implemented in BasicConnection< Protocol >.
|
pure virtual |
Implemented in BasicConnection< Protocol >.
|
pure virtual |
Implemented in BasicConnection< Protocol >.
|
pure virtual |
Implemented in BasicConnection< Protocol >.
|
pure virtual |
Implemented in BasicConnection< Protocol >.
|
pure virtual |
Implemented in BasicConnection< Protocol >.
|
pure virtual |
Implemented in BasicConnection< Protocol >.
|
pure virtual |
Implemented in BasicConnection< Protocol >.
|
pure virtual |
Implemented in BasicConnection< Protocol >.
|
pure virtual |
Implemented in BasicConnection< Protocol >.
|
pure virtual |
Implemented in BasicConnection< Protocol >.
|
pure virtual |
Implemented in BasicConnection< Protocol >.