ServiceGroups.h
Definition: ServiceGroups.h:25
SingleService(const String &aServiceKey)
Definition: ServiceGroups.cc:213
a temporary service chain built upon another service request
Definition: ServiceGroups.h:111
information used to search for adaptation services
Definition: ServiceFilter.h:23
void error(char *format,...)
void finalizeMsg(const char *msg, const String &culprit, bool error) const
emits a formatted warning or error message at the appropriate dbg level
Definition: ServiceGroups.cc:118
void checkUniqueness(const Pos checkedPos) const
checks that the service name or URI is not repeated later in the group
Definition: ServiceGroups.cc:101
DynamicServiceGroup configuration to remember future dynamic chains.
Definition: DynamicGroupCfg.h:21
bool findLink(const ServiceFilter &filter, Pos &pos) const
find next to link after success, starting with pos
Definition: ServiceGroups.cc:200
bool wants(const ServiceFilter &filter) const
Definition: ServiceGroups.cc:134
Definition: SquidString.h:26
Definition: ServiceGroups.h:89
DynamicServiceChain(const DynamicGroupCfg &cfg, const ServiceFilter &f)
Definition: ServiceGroups.cc:228
ServiceGroup(const String &aKind, bool areAllServicesSame)
Definition: ServiceGroups.cc:21
bool findService(const ServiceFilter &filter, Pos &pos) const
Definition: ServiceGroups.cc:141
Store removedServices
the disabled services in the case ecap or icap is disabled
Definition: ServiceGroups.h:68
static void Split(const ServiceFilter &filter, const String &ids, DynamicGroupCfg ¤t, DynamicGroupCfg &future)
separates dynamic services matching current location from future ones
Definition: ServiceGroups.cc:243
a group of services that must be used one after another
Definition: ServiceGroups.h:100
std::ostream & print(std::ostream &os) const
Definition: ServiceGroups.cc:312
ServiceGroupPointer FindGroup(const ServiceGroup::Id &id)
Definition: ServiceGroups.cc:331
std::ostream & operator<<(std::ostream &os, const Answer &answer)
Definition: Answer.h:49
Definition: ServiceGroups.h:78
bool findReplacement(const ServiceFilter &filter, Pos &pos) const
these methods control group iteration; used by ServicePlan
Definition: ServiceGroups.cc:194
ServicePointer next(const ServiceFilter &filter)
next in chain after success
Definition: ServiceGroups.cc:304
Definition: ServiceGroups.h:123
Definition: SquidConfig.h:59
virtual bool advance(Pos &pos) const
Definition: ServiceGroups.h:106
ServicePointer replacement(const ServiceFilter &filter)
next to try after failure
Definition: ServiceGroups.cc:296
bool has(const Pos pos) const
< whether this group has a service at the specified pos
Definition: ServiceGroups.h:45
Definition: AccessCheck.h:25