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

#include <cmdagent.hpp>

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

Classes

struct  Config
 
class  SetupClient
 

Public Types

typedef RCPtr< UnixCommandAgentPtr
 
- Public Types inherited from openvpn::TunBuilderSetup::Factory
typedef RCPtr< FactoryPtr
 
- 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 TunBuilderSetup::Factory::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

TunBuilderSetup::Base::Ptr new_setup_obj () override
 
 UnixCommandAgent (const OptionList &opt_parent)
 

Private Attributes

Config::Ptr config
 

Detailed Description

Definition at line 38 of file cmdagent.hpp.

Member Typedef Documentation

◆ Ptr

Constructor & Destructor Documentation

◆ UnixCommandAgent()

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

Definition at line 294 of file cmdagent.hpp.

Member Function Documentation

◆ add_bypass_route()

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

Definition at line 50 of file cmdagent.hpp.

Here is the caller graph for this function:

◆ new_agent()

static TunBuilderSetup::Factory::Ptr openvpn::UnixCommandAgent::new_agent ( const OptionList opt)
inlinestatic

Definition at line 45 of file cmdagent.hpp.

Here is the caller graph for this function:

◆ new_setup_obj()

TunBuilderSetup::Base::Ptr openvpn::UnixCommandAgent::new_setup_obj ( )
inlineoverrideprivatevirtual

Implements openvpn::TunBuilderSetup::Factory.

Definition at line 286 of file cmdagent.hpp.

◆ OPENVPN_EXCEPTION()

openvpn::UnixCommandAgent::OPENVPN_EXCEPTION ( ovpnagent  )

Member Data Documentation

◆ config

Config::Ptr openvpn::UnixCommandAgent::config
private

Definition at line 299 of file cmdagent.hpp.


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