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

#include <packet_id_control.hpp>

Collaboration diagram for openvpn::PacketIDControlSend:
[legend]

Public Member Functions

 OPENVPN_SIMPLE_EXCEPTION (packet_id_wrap)
 
 PacketIDControlSend (PacketIDControl::id_t start_at=PacketIDControl::id_t(0))
 
void init (PacketIDControl::id_t start_at=0)
 
PacketIDControl next (const PacketIDControl::time_t now)
 
void write_next (Buffer &buf, const bool prepend, const PacketIDControl::time_t now)
 
std::string str () const
 

Private Attributes

PacketIDControl pid_
 

Detailed Description

Definition at line 115 of file packet_id_control.hpp.

Constructor & Destructor Documentation

◆ PacketIDControlSend()

openvpn::PacketIDControlSend::PacketIDControlSend ( PacketIDControl::id_t  start_at = PacketIDControl::id_t(0))
inlineexplicit

Definition at line 121 of file packet_id_control.hpp.

Member Function Documentation

◆ init()

void openvpn::PacketIDControlSend::init ( PacketIDControl::id_t  start_at = 0)
inline
Parameters
start_atinitial id for the sending

Definition at line 129 of file packet_id_control.hpp.

Here is the caller graph for this function:

◆ next()

PacketIDControl openvpn::PacketIDControlSend::next ( const PacketIDControl::time_t  now)
inline

Definition at line 135 of file packet_id_control.hpp.

Here is the caller graph for this function:

◆ OPENVPN_SIMPLE_EXCEPTION()

openvpn::PacketIDControlSend::OPENVPN_SIMPLE_EXCEPTION ( packet_id_wrap  )

◆ str()

std::string openvpn::PacketIDControlSend::str ( ) const
inline

Definition at line 156 of file packet_id_control.hpp.

◆ write_next()

void openvpn::PacketIDControlSend::write_next ( Buffer buf,
const bool  prepend,
const PacketIDControl::time_t  now 
)
inline

Definition at line 150 of file packet_id_control.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ pid_

PacketIDControl openvpn::PacketIDControlSend::pid_
private

Definition at line 165 of file packet_id_control.hpp.


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