#include <HttpHdrSc.h>

Collaboration diagram for HttpHdrSc:

Public Member Functions

 HttpHdrSc (const HttpHdrSc &)
 
 HttpHdrSc ()
 
 ~HttpHdrSc ()
 
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)
 
void addTarget (HttpHdrScTarget *t)
 
void addTargetAtTail (HttpHdrScTarget *t)
 

Public Attributes

dlink_list targets
 

Private Member Functions

 MEMPROXY_CLASS (HttpHdrSc)
 
HttpHdrScTargetfindTarget (const char *target)
 

Detailed Description

Definition at line 31 of file HttpHdrSc.h.

Constructor & Destructor Documentation

HttpHdrSc::HttpHdrSc ( const HttpHdrSc sc)
HttpHdrSc::HttpHdrSc ( )
inline

Definition at line 37 of file HttpHdrSc.h.

HttpHdrSc::~HttpHdrSc ( )

Member Function Documentation

void HttpHdrSc::addTarget ( HttpHdrScTarget t)

Definition at line 355 of file HttpHdrSc.cc.

References dlinkAdd(), HttpHdrScTarget::node, and targets.

Referenced by parse().

void HttpHdrSc::addTargetAtTail ( HttpHdrScTarget t)

Definition at line 360 of file HttpHdrSc.cc.

References dlinkAddTail(), HttpHdrScTarget::node, and targets.

Referenced by HttpHdrSc().

HttpHdrScTarget * HttpHdrSc::findTarget ( const char *  target)
private
HttpHdrScTarget * HttpHdrSc::getMergedTarget ( const char *  ourtarget)
HttpHdrSc::MEMPROXY_CLASS ( HttpHdrSc  )
private
void HttpHdrSc::packInto ( Packable p) const

Definition at line 250 of file HttpHdrSc.cc.

References assert, dlink_node::data, dlink_list::head, dlink_node::next, and targets.

Referenced by HttpHeader::putSc().

void HttpHdrSc::setMaxAge ( char const *  target,
int  max_age 
)
void HttpHdrSc::updateStats ( StatHist hist) const

Definition at line 277 of file HttpHdrSc.cc.

References dlink_node::data, dlink_list::head, dlink_node::next, and targets.

Referenced by HttpHeader::getSc().

Member Data Documentation

dlink_list HttpHdrSc::targets

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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors