Class for storing/manipulating LocalContextStorage per local listening address/port. More...

#include <context_storage.h>

Collaboration diagram for Ssl::GlobalContextStorage:

Public Member Functions

 GlobalContextStorage ()
 ~GlobalContextStorage ()
void addLocalStorage (Ip::Address const &address, size_t size_of_store)
 Create new SSL context storage for the local listening address/port. More...
LocalContextStoragegetLocalStorage (Ip::Address const &address)
 Return the local storage for the given listening address/port. More...
void reconfigureStart ()
 When reconfigring should be called this method. More...

Private Member Functions

void reconfigureFinish ()
 Called by getLocalStorage method. More...

Private Attributes

bool reconfiguring
std::map< Ip::Address, size_tconfigureStorage
 Storage used on configure or reconfigure. More...
std::map< Ip::Address, LocalContextStorage * > storage
 Map for storing all local ip address and their local storages. More...


class CertificateStorageAction

Detailed Description

Definition at line 54 of file context_storage.h.

Constructor & Destructor Documentation

◆ GlobalContextStorage()

Ssl::GlobalContextStorage::GlobalContextStorage ( )

◆ ~GlobalContextStorage()

Ssl::GlobalContextStorage::~GlobalContextStorage ( )

Definition at line 67 of file

Member Function Documentation

◆ addLocalStorage()

void Ssl::GlobalContextStorage::addLocalStorage ( Ip::Address const &  address,
size_t  size_of_store 

Definition at line 74 of file

References assert, and reconfiguring.

Referenced by clientHttpConnectionsOpen().

◆ getLocalStorage()

Ssl::LocalContextStorage * Ssl::GlobalContextStorage::getLocalStorage ( Ip::Address const &  address)

◆ reconfigureFinish()

void Ssl::GlobalContextStorage::reconfigureFinish ( )

Definition at line 97 of file

References reconfiguring.

◆ reconfigureStart()

void Ssl::GlobalContextStorage::reconfigureStart ( )

Definition at line 91 of file

References reconfiguring.

Referenced by mainReconfigureStart().

Friends And Related Function Documentation

◆ CertificateStorageAction

Definition at line 56 of file context_storage.h.

Member Data Documentation

◆ configureStorage

std::map<Ip::Address, size_t> Ssl::GlobalContextStorage::configureStorage

Definition at line 71 of file context_storage.h.

◆ reconfiguring

bool Ssl::GlobalContextStorage::reconfiguring

True if system reconfiguring now.

Definition at line 69 of file context_storage.h.

◆ storage

std::map<Ip::Address, LocalContextStorage *> Ssl::GlobalContextStorage::storage

Definition at line 73 of file context_storage.h.

Referenced by Ssl::CertificateStorageAction::dump().

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






Web Site Translations