OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::AsioTimer Class Reference

#include <asiotimer.hpp>

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

Public Types

typedef std::unique_ptr< AsioTimerUPtr
 

Public Member Functions

 AsioTimer (openvpn_io::io_context &io_context)
 
std::size_t expires_at (const Time &t)
 
std::size_t expires_after (const Time::Duration &d)
 

Detailed Description

Definition at line 54 of file asiotimer.hpp.

Member Typedef Documentation

◆ UPtr

typedef std::unique_ptr<AsioTimer> openvpn::AsioTimer::UPtr

Definition at line 57 of file asiotimer.hpp.

Constructor & Destructor Documentation

◆ AsioTimer()

openvpn::AsioTimer::AsioTimer ( openvpn_io::io_context &  io_context)
inline

Definition at line 59 of file asiotimer.hpp.

Member Function Documentation

◆ expires_after()

std::size_t openvpn::AsioTimer::expires_after ( const Time::Duration &  d)
inline

Definition at line 69 of file asiotimer.hpp.

Here is the caller graph for this function:

◆ expires_at()

std::size_t openvpn::AsioTimer::expires_at ( const Time t)
inline

Definition at line 64 of file asiotimer.hpp.

Here is the caller graph for this function:

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