#include <HasComponentData.h>


Public Member Functions | |
ACLHasComponentData () | |
virtual bool | match (ACLChecklist *) override |
virtual SBufList | dump () const override |
virtual void | parse () override |
virtual bool | empty () const override |
virtual ACLData< ACLChecklist * > * | clone () const override |
virtual const Acl::ParameterFlags & | supportedFlags () const |
virtual void | prepareForUse () |
Private Types | |
enum | ComponentKind { coRequest = 0, coResponse, coAle, coEnd } |
typedef bool(ACLChecklist::* | ComponentCheck )() const |
Private Member Functions | |
MEMPROXY_CLASS (ACLHasComponentData) | |
void | parseComponent (const char *token) |
Private Attributes | |
std::vector< ComponentCheck > | componentMethods |
component check callbacks, ordered by component kind ID More... | |
Static Private Attributes | |
static const SBuf | RequestStr |
static const SBuf | ResponseStr |
static const SBuf | AleStr |
Detailed Description
Definition at line 16 of file HasComponentData.h.
Member Typedef Documentation
|
private |
Definition at line 38 of file HasComponentData.h.
Member Enumeration Documentation
|
private |
Enumerator | |
---|---|
coRequest | |
coResponse | |
coAle | |
coEnd |
Definition at line 31 of file HasComponentData.h.
Constructor & Destructor Documentation
ACLHasComponentData::ACLHasComponentData | ( | ) |
Definition at line 19 of file HasComponentData.cc.
Referenced by clone().
Member Function Documentation
|
overridevirtual |
Implements ACLData< ACLChecklist * >.
Definition at line 78 of file HasComponentData.cc.
References ACLHasComponentData().
|
overridevirtual |
Implements ACLData< ACLChecklist * >.
Definition at line 50 of file HasComponentData.cc.
References AleStr, coAle, componentMethods, coRequest, coResponse, RequestStr, and ResponseStr.
|
inlineoverridevirtual |
Implements ACLData< ACLChecklist * >.
Definition at line 27 of file HasComponentData.h.
|
overridevirtual |
Implements ACLData< ACLChecklist * >.
Definition at line 41 of file HasComponentData.cc.
References componentMethods, and method.
Referenced by ACLHasComponentStrategy::match().
|
private |
|
overridevirtual |
Implements ACLData< ACLChecklist * >.
Definition at line 24 of file HasComponentData.cc.
References DBG_CRITICAL, debugs, ConfigParser::NextToken(), parseComponent(), ConfigParser::PeekAtToken(), and self_destruct().
|
private |
Definition at line 63 of file HasComponentData.cc.
References AleStr, SBuf::cmp(), coAle, componentMethods, coRequest, coResponse, DBG_CRITICAL, debugs, ACLChecklist::hasAle(), ACLChecklist::hasReply(), ACLChecklist::hasRequest(), RequestStr, ResponseStr, and self_destruct().
Referenced by parse().
|
inlinevirtualinherited |
|
inlinevirtualinherited |
Member Data Documentation
|
staticprivate |
Definition at line 36 of file HasComponentData.h.
Referenced by dump(), and parseComponent().
|
private |
Definition at line 40 of file HasComponentData.h.
Referenced by dump(), match(), and parseComponent().
|
staticprivate |
Definition at line 34 of file HasComponentData.h.
Referenced by dump(), and parseComponent().
|
staticprivate |
Definition at line 35 of file HasComponentData.h.
Referenced by dump(), and parseComponent().
The documentation for this class was generated from the following files:
- src/acl/HasComponentData.h
- src/acl/HasComponentData.cc