|
Squid Web Cache master
|
a group of services that must be used one after another More...
#include <ServiceGroups.h>
Public Types | |
| typedef RefCount< ServiceGroup > | Pointer |
| typedef std::vector< String > | Store |
| typedef String | Id |
| typedef unsigned int | Pos |
Public Member Functions | |
| ServiceChain () | |
| virtual void | parse () |
| virtual void | finalize () |
| bool | wants (const ServiceFilter &filter) const |
Public Attributes | |
| String | kind |
| Id | id |
| Store | services |
| Store | removedServices |
| the disabled services in the case ecap or icap is disabled | |
| Method | method |
| VectPoint | point |
| based on the first added service | |
| const bool | allServicesSame |
| based on the first added service | |
Protected Member Functions | |
| virtual bool | replace (Pos &) const |
| virtual bool | advance (Pos &pos) const |
| bool | has (const Pos pos) const |
| < whether this group has a service at the specified pos | |
| bool | findReplacement (const ServiceFilter &filter, Pos &pos) const |
| these methods control group iteration; used by ServicePlan | |
| bool | findLink (const ServiceFilter &filter, Pos &pos) const |
| find next to link after success, starting with pos | |
Private Member Functions | |
| ServicePointer | at (const Pos pos) const |
| bool | findService (const ServiceFilter &filter, Pos &pos) const |
| void | checkUniqueness (const Pos checkedPos) const |
| checks that the service name or URI is not repeated later in the group | |
| void | finalizeMsg (const char *msg, const String &culprit, bool error) const |
| emits a formatted warning or error message at the appropriate dbg level | |
Definition at line 99 of file ServiceGroups.h.
|
inherited |
Definition at line 30 of file ServiceGroups.h.
|
inherited |
Definition at line 27 of file ServiceGroups.h.
|
inherited |
Definition at line 31 of file ServiceGroups.h.
|
inherited |
Definition at line 29 of file ServiceGroups.h.
| Adaptation::ServiceChain::ServiceChain | ( | ) |
Definition at line 222 of file ServiceGroups.cc.
|
inlineprotectedvirtual |
Definition at line 106 of file ServiceGroups.h.
References Adaptation::ServiceGroup::has().
|
privateinherited |
Definition at line 127 of file ServiceGroups.cc.
References Adaptation::FindService().
|
privateinherited |
Definition at line 101 of file ServiceGroups.cc.
References Adaptation::Service::cfg(), Adaptation::ServiceConfig::key, and Adaptation::ServiceConfig::uri.
|
virtualinherited |
Definition at line 45 of file ServiceGroups.cc.
References String::append(), Adaptation::ServiceConfig::bypass, Adaptation::Service::cfg(), String::cut(), DBG_CRITICAL, DBG_IMPORTANT, debugs, Adaptation::ServiceConfig::key, Adaptation::ServiceConfig::method, Adaptation::methodNone, Adaptation::ServiceConfig::point, and String::size().
Referenced by Adaptation::AccessRule::finalize().
|
privateinherited |
Definition at line 118 of file ServiceGroups.cc.
References DBG_CRITICAL, DBG_IMPORTANT, debugs, and error().
|
protectedinherited |
Definition at line 200 of file ServiceGroups.cc.
|
protectedinherited |
find next to try after failure, starting with pos
Definition at line 194 of file ServiceGroups.cc.
|
privateinherited |
Definition at line 141 of file ServiceGroups.cc.
References Adaptation::ServiceConfig::bypass, Adaptation::Service::cfg(), debugs, Adaptation::ServiceFilter::method, Adaptation::ServiceFilter::point, Adaptation::Service::probed(), Adaptation::Service::up(), and Adaptation::Service::wants().
|
inlineprotectedinherited |
Definition at line 45 of file ServiceGroups.h.
References Adaptation::ServiceGroup::services.
Referenced by advance(), and Adaptation::ServiceSet::replace().
|
virtualinherited |
Definition at line 32 of file ServiceGroups.cc.
References wordlist::next, ConfigParser::NextToken(), ConfigParser::ParseWordList(), and wordlistDestroy().
Referenced by Adaptation::Config::ParseServiceGroup().
|
inlineprotectedvirtual |
Definition at line 105 of file ServiceGroups.h.
|
inherited |
Definition at line 134 of file ServiceGroups.cc.
Referenced by Adaptation::AccessCheck::isCandidate().
|
inherited |
Definition at line 73 of file ServiceGroups.h.
|
inherited |
Definition at line 66 of file ServiceGroups.h.
Referenced by Adaptation::Config::removeService().
|
inherited |
Definition at line 65 of file ServiceGroups.h.
|
inherited |
Definition at line 70 of file ServiceGroups.h.
|
inherited |
Definition at line 71 of file ServiceGroups.h.
|
inherited |
Definition at line 68 of file ServiceGroups.h.
Referenced by Adaptation::Config::removeService().
|
inherited |
Definition at line 67 of file ServiceGroups.h.
Referenced by Adaptation::SingleService::SingleService(), Adaptation::ServiceGroup::has(), and Adaptation::Config::removeService().