9#ifndef SQUID_SRC_ADAPTATION_ACCESSCHECK_H
10#define SQUID_SRC_ADAPTATION_ACCESSCHECK_H
66 void start()
override;
67 bool doneAll()
const override {
return false; }
const ServiceFilter filter
void AccessCheckCallback(ServiceGroupPointer group, void *data)
CbcPointer< Adaptation::Initiator > theInitiator
the job which ordered this access check
bool doneAll() const override
whether positive goal has been reached
std::vector< Candidate > Candidates
Candidate topCandidate() const
ServiceGroupPointer topGroup() const
void callBack(const ServiceGroupPointer &g)
void noteAnswer(Acl::Answer answer)
process the results of the ACL check
bool usedDynamicRules()
not done until mustStop
CBDATA_CHILD(AccessCheck)
void check()
Walk the access rules list to find rules with applicable service groups.
bool isCandidate(AccessRule &r)
void start() override
called by AsyncStart; do not call directly
static bool Start(Method method, VectPoint vp, HttpRequest *req, HttpReply *, const AccessLogEntryPointer &, Adaptation::Initiator *)
static void AccessCheckCallbackWrapper(Acl::Answer, void *)
information used to search for adaptation services