OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::ClientAPI::MyClientEvents Class Reference
Inheritance diagram for openvpn::ClientAPI::MyClientEvents:
[legend]
Collaboration diagram for openvpn::ClientAPI::MyClientEvents:
[legend]

Public Types

typedef RCPtr< MyClientEventsPtr
 
- Public Types inherited from openvpn::ClientEvent::Queue
typedef RCPtr< QueuePtr
 
- Public Types inherited from openvpn::RC< thread_unsafe_refcount >
typedef RCPtr< RCPtr
 

Public Member Functions

 MyClientEvents (OpenVPNClient *parent_arg)
 
void add_event (ClientEvent::Base::Ptr event) override
 
void get_connection_info (ConnectionInfo &ci)
 
void detach_from_parent ()
 
- 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

OpenVPNClientparent
 
ClientEvent::Base::Ptr last_connected
 

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.
 

Detailed Description

Definition at line 179 of file ovpncli.cpp.

Member Typedef Documentation

◆ Ptr

Constructor & Destructor Documentation

◆ MyClientEvents()

openvpn::ClientAPI::MyClientEvents::MyClientEvents ( OpenVPNClient parent_arg)
inline

Definition at line 184 of file ovpncli.cpp.

Member Function Documentation

◆ add_event()

void openvpn::ClientAPI::MyClientEvents::add_event ( ClientEvent::Base::Ptr  event)
inlineoverridevirtual

Implements openvpn::ClientEvent::Queue.

Definition at line 189 of file ovpncli.cpp.

◆ detach_from_parent()

void openvpn::ClientAPI::MyClientEvents::detach_from_parent ( )
inline

Definition at line 247 of file ovpncli.cpp.

◆ get_connection_info()

void openvpn::ClientAPI::MyClientEvents::get_connection_info ( ConnectionInfo ci)
inline

Definition at line 220 of file ovpncli.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ last_connected

ClientEvent::Base::Ptr openvpn::ClientAPI::MyClientEvents::last_connected
private

Definition at line 254 of file ovpncli.cpp.

◆ parent

OpenVPNClient* openvpn::ClientAPI::MyClientEvents::parent
private

Definition at line 253 of file ovpncli.cpp.


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