OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::AsioBoundSocket::Socket::Proto< IP_ADDR > Class Template Reference

#include <asioboundsock.hpp>

Public Member Functions

 Proto ()
 
bool defined () const
 
void bind_local (const IP_ADDR &local, const unsigned short port)
 
template<typename PARENT >
void post_open (PARENT *parent, openvpn_io::error_code &ec) const
 
std::string to_string () const
 

Private Attributes

IP_ADDR local_
 
unsigned short port_
 

Detailed Description

template<typename IP_ADDR>
class openvpn::AsioBoundSocket::Socket::Proto< IP_ADDR >

Definition at line 87 of file asioboundsock.hpp.

Constructor & Destructor Documentation

◆ Proto()

template<typename IP_ADDR >
openvpn::AsioBoundSocket::Socket::Proto< IP_ADDR >::Proto ( )
inline

Definition at line 90 of file asioboundsock.hpp.

Member Function Documentation

◆ bind_local()

template<typename IP_ADDR >
void openvpn::AsioBoundSocket::Socket::Proto< IP_ADDR >::bind_local ( const IP_ADDR &  local,
const unsigned short  port 
)
inline

Definition at line 101 of file asioboundsock.hpp.

◆ defined()

template<typename IP_ADDR >
bool openvpn::AsioBoundSocket::Socket::Proto< IP_ADDR >::defined ( ) const
inline

Definition at line 96 of file asioboundsock.hpp.

Here is the caller graph for this function:

◆ post_open()

template<typename IP_ADDR >
template<typename PARENT >
void openvpn::AsioBoundSocket::Socket::Proto< IP_ADDR >::post_open ( PARENT *  parent,
openvpn_io::error_code &  ec 
) const
inline

Definition at line 108 of file asioboundsock.hpp.

◆ to_string()

template<typename IP_ADDR >
std::string openvpn::AsioBoundSocket::Socket::Proto< IP_ADDR >::to_string ( ) const
inline

Definition at line 118 of file asioboundsock.hpp.

Member Data Documentation

◆ local_

template<typename IP_ADDR >
IP_ADDR openvpn::AsioBoundSocket::Socket::Proto< IP_ADDR >::local_
private

Definition at line 124 of file asioboundsock.hpp.

◆ port_

template<typename IP_ADDR >
unsigned short openvpn::AsioBoundSocket::Socket::Proto< IP_ADDR >::port_
private

Definition at line 125 of file asioboundsock.hpp.


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