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

Public Member Functions

 MySocketProtect ()
 
void set_parent (OpenVPNClient *parent_arg)
 
void set_rg_local (bool rg_local_arg)
 
bool socket_protect (openvpn_io::detail::socket_type socket, IP::Addr endpoint) override
 
void detach_from_parent ()
 
- Public Member Functions inherited from openvpn::BaseSocketProtect
virtual ~BaseSocketProtect ()=default
 

Private Attributes

OpenVPNClientparent
 
bool rg_local = false
 

Detailed Description

Definition at line 257 of file ovpncli.cpp.

Constructor & Destructor Documentation

◆ MySocketProtect()

openvpn::ClientAPI::MySocketProtect::MySocketProtect ( )
inline

Definition at line 260 of file ovpncli.cpp.

Member Function Documentation

◆ detach_from_parent()

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

Definition at line 291 of file ovpncli.cpp.

Here is the caller graph for this function:

◆ set_parent()

void openvpn::ClientAPI::MySocketProtect::set_parent ( OpenVPNClient parent_arg)
inline

Definition at line 265 of file ovpncli.cpp.

Here is the caller graph for this function:

◆ set_rg_local()

void openvpn::ClientAPI::MySocketProtect::set_rg_local ( bool  rg_local_arg)
inline

Definition at line 270 of file ovpncli.cpp.

Here is the caller graph for this function:

◆ socket_protect()

bool openvpn::ClientAPI::MySocketProtect::socket_protect ( openvpn_io::detail::socket_type  socket,
IP::Addr  endpoint 
)
inlineoverridevirtual

Implements openvpn::BaseSocketProtect.

Definition at line 275 of file ovpncli.cpp.

Member Data Documentation

◆ parent

OpenVPNClient* openvpn::ClientAPI::MySocketProtect::parent
private

Definition at line 297 of file ovpncli.cpp.

◆ rg_local

bool openvpn::ClientAPI::MySocketProtect::rg_local = false
private

Definition at line 298 of file ovpncli.cpp.


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