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 * > 
 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

Ssl::GlobalContextStorage::GlobalContextStorage ( )
Ssl::GlobalContextStorage::~GlobalContextStorage ( )

Definition at line 62 of file

References i.

Member Function Documentation

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

Definition at line 69 of file

References assert, and reconfiguring.

Referenced by clientHttpConnectionsOpen().

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

Definition at line 75 of file

References i, and NULL.

Referenced by ConnStateData::getTlsContextFromCache(), and ConnStateData::storeTlsContextToCache().

void Ssl::GlobalContextStorage::reconfigureFinish ( )

Definition at line 92 of file

References i, and reconfiguring.

void Ssl::GlobalContextStorage::reconfigureStart ( )

Definition at line 86 of file

References reconfiguring.

Referenced by mainReconfigureStart().

Friends And Related Function Documentation

Definition at line 56 of file context_storage.h.

Member Data Documentation

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

Definition at line 71 of file context_storage.h.

bool Ssl::GlobalContextStorage::reconfiguring

True if system reconfiguring now.

Definition at line 69 of file context_storage.h.

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