identifies a protocol agent or Squid feature initiating transactions More...

#include <XactionInitiator.h>

Collaboration diagram for XactionInitiator:

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

Enumerator
initUnknown 
initClient 

HTTP or FTP client.

initPeerPool 

PeerPool manager.

initCertFetcher 

Missing intermediate certificates fetching code.

initEsi 

ESI processing code.

initCacheDigest 

Cache Digest fetching code.

initHtcp 

HTCP client.

initIcp 

the ICP/neighbors subsystem

initIcmp 

the ICMP RTT database (NetDB) neighbors exchange subsystem

initAsn 

the ASN db subsystem

initIpc 

the IPC subsystem

initAdaptation 

ICAP/ECAP requests generated by Squid.

initIcon 

internal icons

initPeerMcast 

neighbor multicast

initServer 

HTTP/2 push request (not yet supported by Squid)

initAdaptationOrphan_ 

eCAP-created HTTP message w/o an associated HTTP transaction (not ACL-detectable)

Definition at line 16 of file XactionInitiator.h.

Constructor & Destructor Documentation

◆ XactionInitiator() [1/2]

XactionInitiator::XactionInitiator ( Initiator  i)
inline

Definition at line 39 of file XactionInitiator.h.

◆ XactionInitiator() [2/2]

XactionInitiator::XactionInitiator ( )
inlineprivate

Definition at line 62 of file XactionInitiator.h.

Member Function Documentation

◆ AllInitiators()

static Initiators XactionInitiator::AllInitiators ( )
inlinestatic

Definition at line 55 of file XactionInitiator.h.

Referenced by ParseInitiators().

◆ in()

bool XactionInitiator::in ( Initiators  setOfInitiators) const
inline

Definition at line 42 of file XactionInitiator.h.

References initiator.

Referenced by Acl::TransactionInitiator::match().

◆ internalClient()

bool XactionInitiator::internalClient ( ) const
inline

Definition at line 45 of file XactionInitiator.h.

References initiator, and InternalInitiators().

◆ InternalInitiators()

static Initiators XactionInitiator::InternalInitiators ( )
inlinestatic

◆ ParseInitiators()

Member Data Documentation

◆ initiator

Initiator XactionInitiator::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:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors