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

#include <clievent.hpp>

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

Public Member Functions

 AppCustomControlMessage (std::string protocol, std::string message)
 
- 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
 
virtual std::string render () 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 protocol
 
std::string custommessage
 

Additional Inherited Members

- Public Types inherited from openvpn::ClientEvent::Base
typedef RCPtr< BasePtr
 
- Public Types inherited from openvpn::RC< thread_safe_refcount >
typedef RCPtr< RCPtr
 
- 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

Message to signal a custom app control message from the peer

Definition at line 729 of file clievent.hpp.

Constructor & Destructor Documentation

◆ AppCustomControlMessage()

openvpn::ClientEvent::AppCustomControlMessage::AppCustomControlMessage ( std::string  protocol,
std::string  message 
)
inline

Definition at line 731 of file clievent.hpp.

Member Data Documentation

◆ custommessage

std::string openvpn::ClientEvent::AppCustomControlMessage::custommessage

Definition at line 736 of file clievent.hpp.

◆ protocol

std::string openvpn::ClientEvent::AppCustomControlMessage::protocol

Definition at line 735 of file clievent.hpp.


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