ServiceGroups.h
Go to the documentation of this file.
#define RefCountable
The locking interface for use on Reference-Counted classes.
Definition: Lock.h:66
void error(char *format,...)
DynamicServiceGroup configuration to remember future dynamic chains.
Definition: DynamicGroupCfg.h:21
a temporary service chain built upon another service request
Definition: ServiceGroups.h:111
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
DynamicServiceChain(const DynamicGroupCfg &cfg, const ServiceFilter &f)
Definition: ServiceGroups.cc:228
a group of services that must be used one after another
Definition: ServiceGroups.h:100
virtual bool advance(Pos &pos) const
Definition: ServiceGroups.h:106
information used to search for adaptation services
Definition: ServiceFilter.h:23
Definition: ServiceGroups.h:25
bool wants(const ServiceFilter &filter) const
Definition: ServiceGroups.cc:134
bool findLink(const ServiceFilter &filter, Pos &pos) const
find next to link after success, starting with pos
Definition: ServiceGroups.cc:200
ServiceGroup(const String &aKind, bool areAllServicesSame)
Definition: ServiceGroups.cc:21
void checkUniqueness(const Pos checkedPos) const
checks that the service name or URI is not repeated later in the group
Definition: ServiceGroups.cc:101
Store removedServices
the disabled services in the case ecap or icap is disabled
Definition: ServiceGroups.h:68
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
bool findReplacement(const ServiceFilter &filter, Pos &pos) const
these methods control group iteration; used by ServicePlan
Definition: ServiceGroups.cc:194
bool findService(const ServiceFilter &filter, Pos &pos) const
Definition: ServiceGroups.cc:141
bool has(const Pos pos) const
< whether this group has a service at the specified pos
Definition: ServiceGroups.h:45
Definition: ServiceGroups.h:123
ServicePointer replacement(const ServiceFilter &filter)
next to try after failure
Definition: ServiceGroups.cc:296
std::ostream & print(std::ostream &os) const
Definition: ServiceGroups.cc:312
ServicePointer next(const ServiceFilter &filter)
next in chain after success
Definition: ServiceGroups.cc:304
Definition: ServiceGroups.h:78
Definition: ServiceGroups.h:89
SingleService(const String &aServiceKey)
Definition: ServiceGroups.cc:213
Definition: SquidString.h:26
Definition: AccessCheck.h:25
std::ostream & operator<<(std::ostream &os, const Answer &answer)
Definition: Answer.h:49
ServiceGroupPointer FindGroup(const ServiceGroup::Id &id)
Definition: ServiceGroups.cc:331
Definition: SquidConfig.h:62