ServiceGroups.cc
Go to the documentation of this file.
58 debugs(93, DBG_IMPORTANT, "Adaptation group '" << id << "' contains disabled member(s) after reconfiguration: " << s);
int strListGetItem(const String *str, char del, const char **item, int *ilen, const char **pos)
Definition: StrList.cc:86
void error(char *format,...)
DynamicServiceGroup configuration to remember future dynamic chains.
Definition: DynamicGroupCfg.h:21
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
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
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
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
virtual bool up() const =0
virtual bool probed() const =0
SingleService(const String &aServiceKey)
Definition: ServiceGroups.cc:213
Definition: SquidString.h:26
Definition: wordlist.h:20
ServiceGroupPointer FindGroup(const ServiceGroup::Id &id)
Definition: ServiceGroups.cc:331