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, initCacheDigest = 1 << 4, initHtcp = 1<< 5, initIcp = 1 << 6, initIcmp = 1 << 7, 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 34 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 37 of file XactionInitiator.h.
◆ XactionInitiator() [2/2]
      
  | 
  inlineprivate | 
Definition at line 60 of file XactionInitiator.h.
Member Function Documentation
◆ AllInitiators()
      
  | 
  inlinestatic | 
Definition at line 53 of file XactionInitiator.h.
Referenced by ParseInitiators().
◆ in()
      
  | 
  inline | 
Definition at line 40 of file XactionInitiator.h.
References initiator.
Referenced by Acl::TransactionInitiator::match().
◆ internalClient()
      
  | 
  inline | 
Definition at line 43 of file XactionInitiator.h.
References initiator, and InternalInitiators().
◆ InternalInitiators()
      
  | 
  inlinestatic | 
Definition at line 48 of file XactionInitiator.h.
References initAdaptation, initCacheDigest, initCertFetcher, 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, initCacheDigest, initCertFetcher, initClient, 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 62 of file XactionInitiator.h.
Referenced by in(), and internalClient().
The documentation for this class was generated from the following files:
Introduction
- About Squid
 - Why Squid?
 - Squid Developers
 - How to Donate
 - How to Help Out
 - Getting Squid
 - Squid Source Packages
 - Squid Deployment Case-Studies
 - Squid Software Foundation
 
Documentation
- Quick Setup
 - Configuration:
 - FAQ and Wiki
 - Guide Books:
 - Non-English
 - More...
 
Support
- Security Advisories
 - Bugzilla Database
 - Mailing lists
 - Contacting us
 - Commercial services
 - Project Sponsors
 - Squid-based products
 
