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

#include <clievent.hpp>

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

Public Types

typedef RCPtr< InfoJSONPtr
 
- 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

 InfoJSON (std::string msg_type_arg, Json::Value jdata_arg)
 
virtual std::string render () const
 
- 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 msg_type
 
Json::Value jdata
 

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 417 of file clievent.hpp.

Member Typedef Documentation

◆ Ptr

Definition at line 419 of file clievent.hpp.

Constructor & Destructor Documentation

◆ InfoJSON()

openvpn::ClientEvent::InfoJSON::InfoJSON ( std::string  msg_type_arg,
Json::Value  jdata_arg 
)
inline

Definition at line 421 of file clievent.hpp.

Member Function Documentation

◆ render()

virtual std::string openvpn::ClientEvent::InfoJSON::render ( ) const
inlinevirtual

Reimplemented from openvpn::ClientEvent::Base.

Definition at line 429 of file clievent.hpp.

Member Data Documentation

◆ jdata

Json::Value openvpn::ClientEvent::InfoJSON::jdata

Definition at line 439 of file clievent.hpp.

◆ msg_type

std::string openvpn::ClientEvent::InfoJSON::msg_type

Definition at line 438 of file clievent.hpp.


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