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

Public Types

typedef RCPtr< ServerThreadPtr
 
- Public Types inherited from openvpn::ServerThreadType< RC_TYPE >
typedef RCPtr< ServerThreadTypePtr
 
typedef RCWeakPtr< ServerThreadTypeWPtr
 

Public Member Functions

 ServerThread (openvpn_io::io_context &io_context_arg, ThreadCommon &tc)
 
void start ()
 
void stop ()
 
void thread_safe_stop () override
 
- Public Member Functions inherited from openvpn::ServerThreadType< RC_TYPE >
virtual void log_notify (const RunContextLogEntry &le)
 

Private Attributes

openvpn_io::io_context & io_context
 
MyListener::Ptr listener
 
bool halt
 

Detailed Description

Definition at line 533 of file ovpnagent.cpp.

Member Typedef Documentation

◆ Ptr

Definition at line 536 of file ovpnagent.cpp.

Constructor & Destructor Documentation

◆ ServerThread()

ServerThread::ServerThread ( openvpn_io::io_context &  io_context_arg,
ThreadCommon tc 
)
inline

Definition at line 538 of file ovpnagent.cpp.

Member Function Documentation

◆ start()

void ServerThread::start ( )
inline

Definition at line 555 of file ovpnagent.cpp.

◆ stop()

void ServerThread::stop ( )
inline

Definition at line 563 of file ovpnagent.cpp.

◆ thread_safe_stop()

void ServerThread::thread_safe_stop ( )
inlineoverridevirtual

Implements openvpn::ServerThreadType< RC_TYPE >.

Definition at line 573 of file ovpnagent.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ halt

bool ServerThread::halt
private

Definition at line 585 of file ovpnagent.cpp.

◆ io_context

openvpn_io::io_context& ServerThread::io_context
private

Definition at line 583 of file ovpnagent.cpp.

◆ listener

MyListener::Ptr ServerThread::listener
private

Definition at line 584 of file ovpnagent.cpp.


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