OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::ClientEvent::UnsupportedFeature Struct Reference

#include <clievent.hpp>

Inheritance diagram for openvpn::ClientEvent::UnsupportedFeature:
[legend]
Collaboration diagram for openvpn::ClientEvent::UnsupportedFeature:
[legend]

Public Types

typedef RCPtr< UnsupportedFeaturePtr
 
- Public Types inherited from openvpn::ClientEvent::Base
typedef RCPtr< BasePtr
 
- Public Types inherited from openvpn::RC< thread_safe_refcount >
typedef RCPtr< RCPtr
 

Public Member Functions

 UnsupportedFeature (const std::string &name_arg, const std::string &reason_arg, bool critical_arg)
 
std::string render () const override
 
- Public Member Functions inherited from openvpn::ClientEvent::Base
virtual ~Base ()=default
 
 Base (Type id)
 
Type id () const
 
const char * name () const
 
bool is_error () const
 
bool is_fatal () const
 
const Connectedconnected_cast () const
 
- Public Member Functions inherited from openvpn::RC< thread_safe_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.
 

Public Attributes

std::string name
 
std::string reason
 
bool critical
 

Additional Inherited Members

- Static Public Member Functions inherited from openvpn::RC< thread_safe_refcount >
static constexpr bool is_thread_safe ()
 Delegates call to RCImpl and returns the result.
 

Detailed Description

Definition at line 444 of file clievent.hpp.

Member Typedef Documentation

◆ Ptr

Constructor & Destructor Documentation

◆ UnsupportedFeature()

openvpn::ClientEvent::UnsupportedFeature::UnsupportedFeature ( const std::string &  name_arg,
const std::string &  reason_arg,
bool  critical_arg 
)
inline

Definition at line 448 of file clievent.hpp.

Member Function Documentation

◆ render()

std::string openvpn::ClientEvent::UnsupportedFeature::render ( ) const
inlineoverridevirtual

Reimplemented from openvpn::ClientEvent::Base.

Definition at line 460 of file clievent.hpp.

Member Data Documentation

◆ critical

bool openvpn::ClientEvent::UnsupportedFeature::critical

Definition at line 458 of file clievent.hpp.

◆ name

std::string openvpn::ClientEvent::UnsupportedFeature::name

Definition at line 456 of file clievent.hpp.

◆ reason

std::string openvpn::ClientEvent::UnsupportedFeature::reason

Definition at line 457 of file clievent.hpp.


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