#include <destination_acceptor.h>
|
| DestinationAcceptor (net::io_context &io_ctx) |
|
| DestinationAcceptor (TcpType sock) |
|
| DestinationAcceptor (LocalType sock) |
|
bool | is_tcp () const |
|
bool | is_local () const |
|
TcpType & | as_tcp () |
|
const TcpType & | as_tcp () const |
|
LocalType & | as_local () |
|
const LocalType & | as_local () const |
|
stdx::expected< void, std::error_code > | open (const mysql_harness::DestinationEndpoint &ep) |
|
stdx::expected< void, std::error_code > | bind (const mysql_harness::DestinationEndpoint &ep) |
|
stdx::expected< void, std::error_code > | listen (int backlog) |
|
stdx::expected< void, std::error_code > | native_non_blocking (bool val) |
|
net::impl::socket::native_handle_type | native_handle () const |
|
template<typename SettableSocketOption > |
stdx::expected< void, std::error_code > | set_option (const SettableSocketOption &option) |
|
net::io_context::executor_type | get_executor () |
|
net::io_context & | io_context () |
|
stdx::expected< void, std::error_code > | cancel () |
|
stdx::expected< void, std::error_code > | close () |
|
template<class CompletionToken > |
auto | async_wait (net::socket_base::wait_type wt, CompletionToken &&token) |
|
template<class CompletionToken > |
auto | async_accept (CompletionToken &&token) |
|
template<class CompletionToken > |
auto | async_accept (mysql_harness::DestinationEndpoint &ep, CompletionToken &&token) |
|
template<class CompletionToken > |
void | async_accept (net::io_context &io_ctx, CompletionToken &&token) |
|
◆ LocalType
◆ TcpType
◆ DestinationAcceptor() [1/3]
mysql_harness::DestinationAcceptor::DestinationAcceptor |
( |
net::io_context & |
io_ctx | ) |
|
|
inlineexplicit |
◆ DestinationAcceptor() [2/3]
mysql_harness::DestinationAcceptor::DestinationAcceptor |
( |
TcpType |
sock | ) |
|
|
inlineexplicit |
◆ DestinationAcceptor() [3/3]
mysql_harness::DestinationAcceptor::DestinationAcceptor |
( |
LocalType |
sock | ) |
|
|
inlineexplicit |
◆ as_local() [1/2]
LocalType & mysql_harness::DestinationAcceptor::as_local |
( |
| ) |
|
|
inline |
◆ as_local() [2/2]
const LocalType & mysql_harness::DestinationAcceptor::as_local |
( |
| ) |
const |
|
inline |
◆ as_tcp() [1/2]
TcpType & mysql_harness::DestinationAcceptor::as_tcp |
( |
| ) |
|
|
inline |
◆ as_tcp() [2/2]
const TcpType & mysql_harness::DestinationAcceptor::as_tcp |
( |
| ) |
const |
|
inline |
◆ async_accept() [1/3]
template<class CompletionToken >
auto mysql_harness::DestinationAcceptor::async_accept |
( |
CompletionToken && |
token | ) |
|
|
inline |
◆ async_accept() [2/3]
template<class CompletionToken >
◆ async_accept() [3/3]
template<class CompletionToken >
void mysql_harness::DestinationAcceptor::async_accept |
( |
net::io_context & |
io_ctx, |
|
|
CompletionToken && |
token |
|
) |
| |
|
inline |
◆ async_wait()
template<class CompletionToken >
◆ bind()
◆ cancel()
stdx::expected< void, std::error_code > mysql_harness::DestinationAcceptor::cancel |
( |
| ) |
|
|
inline |
◆ close()
stdx::expected< void, std::error_code > mysql_harness::DestinationAcceptor::close |
( |
| ) |
|
|
inline |
◆ get_executor()
◆ io_context()
◆ is_local()
bool mysql_harness::DestinationAcceptor::is_local |
( |
| ) |
const |
|
inline |
◆ is_tcp()
bool mysql_harness::DestinationAcceptor::is_tcp |
( |
| ) |
const |
|
inline |
◆ listen()
stdx::expected< void, std::error_code > mysql_harness::DestinationAcceptor::listen |
( |
int |
backlog | ) |
|
|
inline |
◆ native_handle()
◆ native_non_blocking()
stdx::expected< void, std::error_code > mysql_harness::DestinationAcceptor::native_non_blocking |
( |
bool |
val | ) |
|
|
inline |
◆ open()
◆ set_option()
template<typename SettableSocketOption >
stdx::expected< void, std::error_code > mysql_harness::DestinationAcceptor::set_option |
( |
const SettableSocketOption & |
option | ) |
|
|
inline |
◆ acceptor_
The documentation for this class was generated from the following files: