OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::ClientLifeCycle Class Referenceabstract

#include <clilife.hpp>

Inheritance diagram for openvpn::ClientLifeCycle:
[legend]
Collaboration diagram for openvpn::ClientLifeCycle:
[legend]

Classes

struct  NotifyCallback
 

Public Types

typedef RCPtr< ClientLifeCyclePtr
 
- Public Types inherited from openvpn::RC< thread_unsafe_refcount >
typedef RCPtr< RCPtr
 

Public Member Functions

virtual bool network_available ()=0
 
virtual void start (NotifyCallback *)=0
 
virtual void stop ()=0
 
- 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.
 

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 22 of file clilife.hpp.

Member Typedef Documentation

◆ Ptr

Definition at line 35 of file clilife.hpp.

Member Function Documentation

◆ network_available()

virtual bool openvpn::ClientLifeCycle::network_available ( )
pure virtual

Implemented in openvpn::MacLifeCycle.

Here is the caller graph for this function:

◆ start()

virtual void openvpn::ClientLifeCycle::start ( NotifyCallback )
pure virtual

Implemented in openvpn::MacLifeCycle.

Here is the caller graph for this function:

◆ stop()

virtual void openvpn::ClientLifeCycle::stop ( )
pure virtual

Implemented in openvpn::MacLifeCycle.

Here is the caller graph for this function:

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