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

#include <macdns_watchdog.hpp>

Inheritance diagram for openvpn::MacDNSWatchdog::DNSAction:
[legend]
Collaboration diagram for openvpn::MacDNSWatchdog::DNSAction:
[legend]

Public Types

typedef RCPtr< DNSActionPtr
 
- Public Types inherited from openvpn::Action
typedef RCPtr< ActionPtr
 
- Public Types inherited from openvpn::RC< thread_unsafe_refcount >
typedef RCPtr< RCPtr
 

Public Member Functions

 DNSAction (const MacDNSWatchdog::Ptr &parent_arg, const MacDNS::Config::Ptr &config_arg, const unsigned int flags_arg)
 
void execute (std::ostream &os) override
 
std::string to_string () const override
 
- Public Member Functions inherited from openvpn::Action
virtual Json::Value to_json () const
 
virtual ~Action ()=default
 
- 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.
 

Private Attributes

const MacDNSWatchdog::Ptr parent
 
const MacDNS::Config::Ptr config
 
const unsigned int flags
 

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.
 
- Public Attributes inherited from openvpn::Action
std::string mark
 

Detailed Description

Definition at line 42 of file macdns_watchdog.hpp.

Member Typedef Documentation

◆ Ptr

Constructor & Destructor Documentation

◆ DNSAction()

openvpn::MacDNSWatchdog::DNSAction::DNSAction ( const MacDNSWatchdog::Ptr parent_arg,
const MacDNS::Config::Ptr config_arg,
const unsigned int  flags_arg 
)
inline

Definition at line 47 of file macdns_watchdog.hpp.

Member Function Documentation

◆ execute()

void openvpn::MacDNSWatchdog::DNSAction::execute ( std::ostream &  os)
inlineoverridevirtual

Implements openvpn::Action.

Definition at line 56 of file macdns_watchdog.hpp.

◆ to_string()

std::string openvpn::MacDNSWatchdog::DNSAction::to_string ( ) const
inlineoverridevirtual

Implements openvpn::Action.

Definition at line 63 of file macdns_watchdog.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ config

const MacDNS::Config::Ptr openvpn::MacDNSWatchdog::DNSAction::config
private

Definition at line 80 of file macdns_watchdog.hpp.

◆ flags

const unsigned int openvpn::MacDNSWatchdog::DNSAction::flags
private

Definition at line 81 of file macdns_watchdog.hpp.

◆ parent

const MacDNSWatchdog::Ptr openvpn::MacDNSWatchdog::DNSAction::parent
private

Definition at line 79 of file macdns_watchdog.hpp.


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