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

#include <customcontrolchannel.hpp>

Collaboration diagram for openvpn::AppControlMessageReceiver:
[legend]

Public Member Functions

bool receive_message (const std::string &msg)
 
std::pair< std::string, std::string > get_message ()
 

Private Attributes

BufferAllocated recvbuf
 
std::string recvprotocol
 

Detailed Description

Definition at line 161 of file customcontrolchannel.hpp.

Member Function Documentation

◆ get_message()

std::pair< std::string, std::string > openvpn::AppControlMessageReceiver::get_message ( )
inline

Definition at line 240 of file customcontrolchannel.hpp.

Here is the caller graph for this function:

◆ receive_message()

bool openvpn::AppControlMessageReceiver::receive_message ( const std::string &  msg)
inline

Receives and assembles a custom control channel message. If the message is complete it will return true to signal that the complete message can be retrieved via the get_message method

Definition at line 173 of file customcontrolchannel.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ recvbuf

BufferAllocated openvpn::AppControlMessageReceiver::recvbuf
private

Definition at line 164 of file customcontrolchannel.hpp.

◆ recvprotocol

std::string openvpn::AppControlMessageReceiver::recvprotocol
private

Definition at line 165 of file customcontrolchannel.hpp.


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