#include <HttpHdrSc.h>

Collaboration diagram for HttpHdrSc:

Public Member Functions

bool parse (const String *str)
void packInto (Packable *p) const
void updateStats (StatHist *) const
HttpHdrScTargetgetMergedTarget (const char *ourtarget)
void setMaxAge (char const *target, int max_age)

Private Member Functions

HttpHdrScTargetfindTarget (const char *target)

Private Attributes

std::list< HttpHdrScTarget, PoolingAllocator< HttpHdrScTarget > > targets

Detailed Description

Definition at line 24 of file HttpHdrSc.h.

Member Function Documentation

◆ findTarget()

HttpHdrScTarget * HttpHdrSc::findTarget ( const char *  target)

Definition at line 283 of file HttpHdrSc.cc.

References targets.

Referenced by getMergedTarget(), and setMaxAge().

◆ getMergedTarget()

HttpHdrScTarget * HttpHdrSc::getMergedTarget ( const char *  ourtarget)


HttpHdrSc::MEMPROXY_CLASS ( HttpHdrSc  )

◆ packInto()

void HttpHdrSc::packInto ( Packable p) const

Definition at line 227 of file HttpHdrSc.cc.

References assert, and targets.

◆ parse()

◆ setMaxAge()

void HttpHdrSc::setMaxAge ( char const *  target,
int  max_age 

Definition at line 237 of file HttpHdrSc.cc.

References findTarget(), HttpHdrScTarget::maxAge(), and targets.

◆ updateStats()

void HttpHdrSc::updateStats ( StatHist hist) const

Definition at line 249 of file HttpHdrSc.cc.

References targets.

Member Data Documentation

◆ targets

std::list<HttpHdrScTarget, PoolingAllocator<HttpHdrScTarget> > HttpHdrSc::targets

Definition at line 38 of file HttpHdrSc.h.

Referenced by findTarget(), packInto(), parse(), setMaxAge(), and updateStats().

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






Web Site Translations