OpenVPN 3 Core Library
|
#include <asio.hpp>
Classes | |
class | ResolveThread |
Public Types | |
using | resolver_type = RESOLVER_TYPE |
using | results_type = typename RESOLVER_TYPE::results_type |
using | resolver_type = RESOLVER_TYPE |
using | results_type = typename RESOLVER_TYPE::results_type |
![]() | |
typedef RCPtr< RC > | Ptr |
Public Member Functions | |
AsyncResolvable (openvpn_io::io_context &io_context_arg) | |
virtual | ~AsyncResolvable () |
virtual void | resolve_callback (const openvpn_io::error_code &error, results_type results)=0 |
virtual void | async_resolve_name (const std::string &host, const std::string &port) |
void | async_resolve_lock () |
void | async_resolve_cancel () |
AsyncResolvable (openvpn_io::io_context &io_context_arg) | |
virtual void | resolve_callback (const openvpn_io::error_code &error, results_type results)=0 |
virtual void | async_resolve_name (const std::string &host, const std::string &port) |
void | async_resolve_lock () |
void | async_resolve_cancel () |
![]() | |
RC () noexcept=default | |
RC (const RC &)=delete | |
virtual | ~RC ()=default |
RC & | operator= (const RC &)=delete |
olong | use_count () const noexcept |
Delegates call to RCImpl and returns the result. | |
Private Types | |
typedef RCPtr< AsyncResolvable > | Ptr |
typedef RCPtr< AsyncResolvable > | Ptr |
Private Attributes | |
openvpn_io::io_context & | io_context |
std::unique_ptr< AsioWork > | asio_work |
ResolveThread::Ptr | resolve_thread |
RESOLVER_TYPE | resolver |
Additional Inherited Members | |
![]() | |
static constexpr bool | is_thread_safe () |
Delegates call to RCImpl and returns the result. | |
|
private |
|
private |
Definition at line 25 of file generic.hpp.
using openvpn::AsyncResolvable< RESOLVER_TYPE >::resolver_type = RESOLVER_TYPE |
using openvpn::AsyncResolvable< RESOLVER_TYPE >::resolver_type = RESOLVER_TYPE |
Definition at line 31 of file generic.hpp.
using openvpn::AsyncResolvable< RESOLVER_TYPE >::results_type = typename RESOLVER_TYPE::results_type |
using openvpn::AsyncResolvable< RESOLVER_TYPE >::results_type = typename RESOLVER_TYPE::results_type |
Definition at line 32 of file generic.hpp.
|
inline |
|
inlinevirtual |
|
inline |
Definition at line 34 of file generic.hpp.
|
inline |
|
inline |
Definition at line 65 of file generic.hpp.
|
inline |
|
inline |
Definition at line 61 of file generic.hpp.
|
inlinevirtual |
|
inlinevirtual |
Definition at line 50 of file generic.hpp.
|
pure virtual |
|
pure virtual |
|
private |
|
private |
|
private |
|
private |
Definition at line 28 of file generic.hpp.