identifies a protocol agent or Squid feature initiating transactions More...
#include <XactionInitiator.h>
Public Types | |
enum | Initiator { initUnknown = 0 , initClient = 1 << 0 , initPeerPool = 1 << 1 , initCertFetcher = 1 << 2 , initEsi = 1 << 3 , initCacheDigest = 1 << 4 , initHtcp = 1<< 5 , initIcp = 1 << 6 , initIcmp = 1 << 7 , initAsn = 1 << 8 , initIpc = 1 << 9 , initAdaptation = 1 << 10 , initIcon = 1 << 11 , initPeerMcast = 1 << 12 , initServer = 1 << 13 , initAdaptationOrphan_ = 1 << 31 } |
transaction triggers More... | |
typedef uint32_t | Initiators |
Initiator set. More... | |
Public Member Functions | |
XactionInitiator (Initiator i) | |
bool | in (Initiators setOfInitiators) const |
whether this initiator belongs to the given set More... | |
bool | internalClient () const |
whether the transaction was initiated by an internal subsystem More... | |
Static Public Member Functions | |
static Initiators | InternalInitiators () |
internally generated requests More... | |
static Initiators | AllInitiators () |
all initiators More... | |
static Initiators | ParseInitiators (const char *name) |
Private Member Functions | |
XactionInitiator () | |
Private Attributes | |
Initiator | initiator |
Detailed Description
Definition at line 13 of file XactionInitiator.h.
Member Typedef Documentation
◆ Initiators
typedef uint32_t XactionInitiator::Initiators |
Definition at line 36 of file XactionInitiator.h.
Member Enumeration Documentation
◆ Initiator
Definition at line 16 of file XactionInitiator.h.
Constructor & Destructor Documentation
◆ XactionInitiator() [1/2]
|
inline |
Definition at line 39 of file XactionInitiator.h.
◆ XactionInitiator() [2/2]
|
inlineprivate |
Definition at line 62 of file XactionInitiator.h.
Member Function Documentation
◆ AllInitiators()
|
inlinestatic |
Definition at line 55 of file XactionInitiator.h.
Referenced by ParseInitiators().
◆ in()
|
inline |
Definition at line 42 of file XactionInitiator.h.
References initiator.
Referenced by Acl::TransactionInitiator::match().
◆ internalClient()
|
inline |
Definition at line 45 of file XactionInitiator.h.
References initiator, and InternalInitiators().
◆ InternalInitiators()
|
inlinestatic |
Definition at line 50 of file XactionInitiator.h.
References initAdaptation, initCacheDigest, initCertFetcher, initEsi, initIcmp, initIcon, initIcp, initIpc, initPeerMcast, and initPeerPool.
Referenced by internalClient(), and ParseInitiators().
◆ ParseInitiators()
|
static |
Definition at line 18 of file XactionInitiator.cc.
References AllInitiators(), DBG_CRITICAL, debugs, initAdaptation, initAsn, initCacheDigest, initCertFetcher, initClient, initEsi, initHtcp, initIcmp, initIcon, initIcp, initIpc, initPeerMcast, initPeerPool, initServer, InternalInitiators(), and self_destruct().
Referenced by Acl::TransactionInitiator::parse().
Member Data Documentation
◆ initiator
|
private |
Definition at line 64 of file XactionInitiator.h.
Referenced by in(), and internalClient().
The documentation for this class was generated from the following files: