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

#include <sess_cache.hpp>

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

Classes

class  Key
 
class  Session
 
struct  SessionSet
 

Public Types

typedef RCPtr< OpenSSLSessionCachePtr
 
- Public Types inherited from openvpn::RC< thread_unsafe_refcount >
typedef RCPtr< RCPtr
 

Public Member Functions

 OPENVPN_EXCEPTION (openssl_sess_cache_error)
 
template<typename FUNC >
void extract (const std::string &key, FUNC func)
 
- Public Member Functions inherited from openvpn::RC< thread_unsafe_refcount >
 RC () noexcept=default
 
 RC (const RC &)=delete
 
virtual ~RC ()=default
 
RCoperator= (const RC &)=delete
 
olong use_count () const noexcept
 Delegates call to RCImpl and returns the result.
 

Private Types

typedef std::map< std::string, SessionSetMap
 

Private Member Functions

void remove_session (Map::iterator mi, SessionSet &ss, SessionSet::iterator ssi)
 

Private Attributes

Map map
 

Additional Inherited Members

- Static Public Member Functions inherited from openvpn::RC< thread_unsafe_refcount >
static constexpr bool is_thread_safe ()
 Delegates call to RCImpl and returns the result.
 

Detailed Description

Definition at line 31 of file sess_cache.hpp.

Member Typedef Documentation

◆ Map

typedef std::map<std::string, SessionSet> openvpn::OpenSSLSessionCache::Map
private

Definition at line 165 of file sess_cache.hpp.

◆ Ptr

Member Function Documentation

◆ extract()

template<typename FUNC >
void openvpn::OpenSSLSessionCache::extract ( const std::string &  key,
FUNC  func 
)
inline

Definition at line 133 of file sess_cache.hpp.

◆ OPENVPN_EXCEPTION()

openvpn::OpenSSLSessionCache::OPENVPN_EXCEPTION ( openssl_sess_cache_error  )

◆ remove_session()

void openvpn::OpenSSLSessionCache::remove_session ( Map::iterator  mi,
SessionSet ss,
SessionSet::iterator  ssi 
)
inlineprivate

Definition at line 167 of file sess_cache.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ map

Map openvpn::OpenSSLSessionCache::map
private

Definition at line 174 of file sess_cache.hpp.


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