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

Friends

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 context_storage.cc.

References i.

Member Function Documentation

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

Definition at line 69 of file context_storage.cc.

References assert, and reconfiguring.

Referenced by clientHttpConnectionsOpen().

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

Definition at line 75 of file context_storage.cc.

References i, and NULL.

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

void Ssl::GlobalContextStorage::reconfigureFinish ( )
private

Definition at line 92 of file context_storage.cc.

References i, and reconfiguring.

void Ssl::GlobalContextStorage::reconfigureStart ( )

Definition at line 86 of file context_storage.cc.

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
private

Definition at line 71 of file context_storage.h.

bool Ssl::GlobalContextStorage::reconfiguring
private

True if system reconfiguring now.

Definition at line 69 of file context_storage.h.

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

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:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors