OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::ProxySettings Class Referenceabstract

#include <proxy.hpp>

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

Classes

class  ProxyAction
 

Public Types

typedef RCPtr< ProxySettingsPtr
 
- Public Types inherited from openvpn::RC< thread_unsafe_refcount >
typedef RCPtr< RCPtr
 

Public Member Functions

 OPENVPN_EXCEPTION (proxy_error)
 
 ProxySettings (const TunBuilderCapture::ProxyAutoConfigURL &config_arg)
 
virtual void set_proxy (bool del)=0
 
- 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

template<class T >
static void add_actions (const TunBuilderCapture &settings, ActionList &create, ActionList &destroy)
 
- 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.
 

Public Attributes

const std::string sname = "OpenVPNConnect"
 
TunBuilderCapture::ProxyAutoConfigURL config
 

Detailed Description

Definition at line 18 of file proxy.hpp.

Member Typedef Documentation

◆ Ptr

Definition at line 23 of file proxy.hpp.

Constructor & Destructor Documentation

◆ ProxySettings()

openvpn::ProxySettings::ProxySettings ( const TunBuilderCapture::ProxyAutoConfigURL config_arg)
inline

Definition at line 55 of file proxy.hpp.

Member Function Documentation

◆ add_actions()

template<class T >
static void openvpn::ProxySettings::add_actions ( const TunBuilderCapture settings,
ActionList create,
ActionList destroy 
)
inlinestatic

Definition at line 63 of file proxy.hpp.

◆ OPENVPN_EXCEPTION()

openvpn::ProxySettings::OPENVPN_EXCEPTION ( proxy_error  )

◆ set_proxy()

virtual void openvpn::ProxySettings::set_proxy ( bool  del)
pure virtual

Member Data Documentation

◆ config

TunBuilderCapture::ProxyAutoConfigURL openvpn::ProxySettings::config

Definition at line 76 of file proxy.hpp.

◆ sname

const std::string openvpn::ProxySettings::sname = "OpenVPNConnect"

Definition at line 74 of file proxy.hpp.


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