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

#include <sess_cache.hpp>

Public Member Functions

 Session (::SSL_SESSION *sess)
 
 Session (Session &&other) noexcept
 
Sessionoperator= (Session &&other) noexcept
 
::SSL_SESSION * openssl_session () const
 
bool operator< (const Session &rhs) const
 
 operator bool () const
 
 ~Session ()
 

Private Member Functions

 Session (const Session &)=delete
 
Sessionoperator= (const Session &)=delete
 

Private Attributes

::SSL_SESSION * sess_
 

Detailed Description

Definition at line 39 of file sess_cache.hpp.

Constructor & Destructor Documentation

◆ Session() [1/3]

openvpn::OpenSSLSessionCache::Session::Session ( ::SSL_SESSION *  sess)
inline

Definition at line 42 of file sess_cache.hpp.

◆ Session() [2/3]

openvpn::OpenSSLSessionCache::Session::Session ( Session &&  other)
inlinenoexcept

Definition at line 47 of file sess_cache.hpp.

◆ ~Session()

openvpn::OpenSSLSessionCache::Session::~Session ( )
inline

Definition at line 77 of file sess_cache.hpp.

◆ Session() [3/3]

openvpn::OpenSSLSessionCache::Session::Session ( const Session )
privatedelete

Member Function Documentation

◆ openssl_session()

::SSL_SESSION * openvpn::OpenSSLSessionCache::Session::openssl_session ( ) const
inline

Definition at line 62 of file sess_cache.hpp.

◆ operator bool()

openvpn::OpenSSLSessionCache::Session::operator bool ( ) const
inlineexplicit

Definition at line 72 of file sess_cache.hpp.

◆ operator<()

bool openvpn::OpenSSLSessionCache::Session::operator< ( const Session rhs) const
inline

Definition at line 67 of file sess_cache.hpp.

◆ operator=() [1/2]

Session & openvpn::OpenSSLSessionCache::Session::operator= ( const Session )
privatedelete

◆ operator=() [2/2]

Session & openvpn::OpenSSLSessionCache::Session::operator= ( Session &&  other)
inlinenoexcept

Definition at line 53 of file sess_cache.hpp.

Member Data Documentation

◆ sess_

::SSL_SESSION* openvpn::OpenSSLSessionCache::Session::sess_
private

Definition at line 89 of file sess_cache.hpp.


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