|
OpenVPN 3 Core Library
|
#include <remotelist.hpp>
Classes | |
| struct | NotifyCallback |
Public Types | |
| typedef RCPtr< BulkResolve > | Ptr |
Public Types inherited from openvpn::RC< thread_unsafe_refcount > | |
| typedef RCPtr< RC > | Ptr |
Public Member Functions | |
| BulkResolve (openvpn_io::io_context &io_context_arg, const RemoteList::Ptr &remote_list_arg, const SessionStats::Ptr &stats_arg) | |
| bool | work_available () const |
| void | start (NotifyCallback *notify_callback_arg) |
| void | cancel () |
Public Member Functions inherited from openvpn::RC< thread_unsafe_refcount > | |
| 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. | |
Protected Member Functions | |
| void | resolve_next () |
| void | resolve_callback (const openvpn_io::error_code &error, results_type results) override |
Protected Member Functions inherited from openvpn::AsyncResolvable< RESOLVER_TYPE > | |
| AsyncResolvable (openvpn_io::io_context &io_context_arg) | |
| virtual | ~AsyncResolvable () |
| 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 | async_resolve_name (const std::string &host, const std::string &port) |
| void | async_resolve_lock () |
| void | async_resolve_cancel () |
Protected Attributes | |
| NotifyCallback * | notify_callback |
| RemoteList::Ptr | remote_list |
| SessionStats::Ptr | stats |
| size_t | index |
Additional Inherited Members | |
Static Public Member Functions inherited from openvpn::RC< thread_unsafe_refcount > | |
| static constexpr bool | is_thread_safe () |
| Delegates call to RCImpl and returns the result. | |
Protected Types inherited from openvpn::AsyncResolvable< RESOLVER_TYPE > | |
| 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 |
Definition at line 301 of file remotelist.hpp.
Definition at line 304 of file remotelist.hpp.
|
inline |
Definition at line 314 of file remotelist.hpp.
|
inline |
|
inlineoverrideprotectedvirtual |
Implements openvpn::AsyncResolvable< RESOLVER_TYPE >.
Definition at line 388 of file remotelist.hpp.
|
inlineprotected |
|
inline |
Definition at line 331 of file remotelist.hpp.
|
inline |
|
protected |
Definition at line 430 of file remotelist.hpp.
|
protected |
Definition at line 427 of file remotelist.hpp.
|
protected |
Definition at line 428 of file remotelist.hpp.
|
protected |
Definition at line 429 of file remotelist.hpp.