OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::TunClientInstance::Recv Struct Referenceabstract

#include <tunbase.hpp>

Inheritance diagram for openvpn::TunClientInstance::Recv:
[legend]
Collaboration diagram for openvpn::TunClientInstance::Recv:
[legend]

Public Types

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

Public Member Functions

virtual void stop ()=0
 
virtual void tun_recv (BufferAllocated &buf)=0
 
virtual void push_halt_restart_msg (const HaltRestart::Type type, const std::string &reason, const std::string &client_reason)=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 61 of file tunbase.hpp.

Member Typedef Documentation

◆ Ptr

Definition at line 63 of file tunbase.hpp.

Member Function Documentation

◆ push_halt_restart_msg()

virtual void openvpn::TunClientInstance::Recv::push_halt_restart_msg ( const HaltRestart::Type  type,
const std::string &  reason,
const std::string &  client_reason 
)
pure virtual

◆ stop()

virtual void openvpn::TunClientInstance::Recv::stop ( )
pure virtual

◆ tun_recv()

virtual void openvpn::TunClientInstance::Recv::tun_recv ( BufferAllocated buf)
pure virtual

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