OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::WinCommandAgent Class Reference

#include <cmdagent.hpp>

Inheritance diagram for openvpn::WinCommandAgent:
[legend]
Collaboration diagram for openvpn::WinCommandAgent:
[legend]

Classes

struct  Config
 
class  SetupClient
 

Public Types

typedef RCPtr< WinCommandAgentPtr
 
- Public Types inherited from openvpn::TunWin::SetupFactory
typedef RCPtr< SetupFactoryPtr
 
- Public Types inherited from openvpn::RC< thread_unsafe_refcount >
typedef RCPtr< RCPtr
 

Public Member Functions

 OPENVPN_EXCEPTION (ovpnagent)
 
- Public Member Functions inherited from openvpn::RC< thread_unsafe_refcount >
 RC () noexcept=default
 
 RC (const RC &)=delete
 
virtual ~RC ()=default
 
RCoperator= (const RC &)=delete
 
olong use_count () const noexcept
 Delegates call to RCImpl and returns the result.
 

Static Public Member Functions

static TunWin::SetupFactory::Ptr new_agent (const OptionList &opt)
 
static bool add_bypass_route (IP::Addr endpoint)
 
- 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.
 

Private Member Functions

TunWin::SetupBase::Ptr new_setup_obj (openvpn_io::io_context &io_context, TunWin::Type tun_type, bool allow_local_dns_resolvers) override
 
 WinCommandAgent (const OptionList &opt_parent)
 

Private Attributes

Config::Ptr config
 

Detailed Description

Definition at line 35 of file cmdagent.hpp.

Member Typedef Documentation

◆ Ptr

Definition at line 38 of file cmdagent.hpp.

Constructor & Destructor Documentation

◆ WinCommandAgent()

openvpn::WinCommandAgent::WinCommandAgent ( const OptionList opt_parent)
inlineprivate

Definition at line 355 of file cmdagent.hpp.

Member Function Documentation

◆ add_bypass_route()

static bool openvpn::WinCommandAgent::add_bypass_route ( IP::Addr  endpoint)
inlinestatic

Definition at line 47 of file cmdagent.hpp.

Here is the caller graph for this function:

◆ new_agent()

static TunWin::SetupFactory::Ptr openvpn::WinCommandAgent::new_agent ( const OptionList opt)
inlinestatic

Definition at line 42 of file cmdagent.hpp.

Here is the caller graph for this function:

◆ new_setup_obj()

TunWin::SetupBase::Ptr openvpn::WinCommandAgent::new_setup_obj ( openvpn_io::io_context &  io_context,
TunWin::Type  tun_type,
bool  allow_local_dns_resolvers 
)
inlineoverrideprivatevirtual

Implements openvpn::TunWin::SetupFactory.

Definition at line 343 of file cmdagent.hpp.

◆ OPENVPN_EXCEPTION()

openvpn::WinCommandAgent::OPENVPN_EXCEPTION ( ovpnagent  )

Member Data Documentation

◆ config

Config::Ptr openvpn::WinCommandAgent::config
private

Definition at line 360 of file cmdagent.hpp.


The documentation for this class was generated from the following file: