AccessLogEntry::IcapLogEntry Class Reference

This subclass holds log info for ICAP part of request TODO: Inner class declarations should be moved outside. More...

#include <AccessLogEntry.h>

Collaboration diagram for AccessLogEntry::IcapLogEntry:

Public Member Functions

 IcapLogEntry ()
 

Public Attributes

Ip::Address hostAddr
 ICAP server IP address. More...
 
String serviceName
 ICAP service name. More...
 
String reqUri
 ICAP Request-URI. More...
 
Adaptation::Icap::ICAP::Method reqMethod = Adaptation::methodNone
 ICAP request method. More...
 
int64_t bytesSent = 0
 number of bytes sent to ICAP server so far More...
 
int64_t bytesRead = 0
 number of bytes read from ICAP server so far More...
 
int64_t bodyBytesRead = -1
 
HttpRequestrequest = nullptr
 ICAP request. More...
 
HttpReplyreply = nullptr
 ICAP reply. More...
 
Adaptation::Icap::XactOutcome outcome = Adaptation::Icap::xoUnknown
 final transaction status More...
 
struct timeval trTime
 Transaction response time. The timer starts when the ICAP transaction is created and stops when the result of the transaction is logged. More...
 
struct timeval ioTime
 Transaction I/O time. The timer starts when the first ICAP request byte is scheduled for sending and stops when the lastbyte of the ICAP response is received. More...
 
Http::StatusCode resStatus = Http::scNone
 ICAP response status code. More...
 
struct timeval processingTime
 total ICAP processing time More...
 

Detailed Description

Definition at line 205 of file AccessLogEntry.h.

Constructor & Destructor Documentation

◆ IcapLogEntry()

AccessLogEntry::IcapLogEntry::IcapLogEntry ( )
inline

Definition at line 208 of file AccessLogEntry.h.

References ioTime, processingTime, and trTime.

Member Data Documentation

◆ bodyBytesRead

int64_t AccessLogEntry::IcapLogEntry::bodyBytesRead = -1

number of ICAP body bytes read from ICAP server or -1 for no encapsulated message data in ICAP reply (eg 204 responses)

Definition at line 224 of file AccessLogEntry.h.

Referenced by Format::Format::assemble().

◆ bytesRead

int64_t AccessLogEntry::IcapLogEntry::bytesRead = 0

Definition at line 219 of file AccessLogEntry.h.

Referenced by Format::Format::assemble(), and Log::Format::SquidIcap().

◆ bytesSent

int64_t AccessLogEntry::IcapLogEntry::bytesSent = 0

Definition at line 218 of file AccessLogEntry.h.

Referenced by Format::Format::assemble().

◆ hostAddr

Ip::Address AccessLogEntry::IcapLogEntry::hostAddr

Definition at line 214 of file AccessLogEntry.h.

Referenced by Format::Format::assemble(), and Log::Format::SquidIcap().

◆ ioTime

struct timeval AccessLogEntry::IcapLogEntry::ioTime

Definition at line 228 of file AccessLogEntry.h.

Referenced by IcapLogEntry(), and Format::Format::assemble().

◆ outcome

Adaptation::Icap::XactOutcome AccessLogEntry::IcapLogEntry::outcome = Adaptation::Icap::xoUnknown

Definition at line 228 of file AccessLogEntry.h.

Referenced by Format::Format::assemble(), and Log::Format::SquidIcap().

◆ processingTime

struct timeval AccessLogEntry::IcapLogEntry::processingTime

Definition at line 240 of file AccessLogEntry.h.

Referenced by IcapLogEntry(), and Format::Format::assemble().

◆ reply

HttpReply* AccessLogEntry::IcapLogEntry::reply = nullptr

Definition at line 226 of file AccessLogEntry.h.

Referenced by AccessLogEntry::~AccessLogEntry(), and Format::Format::assemble().

◆ reqMethod

Adaptation::Icap::ICAP::Method AccessLogEntry::IcapLogEntry::reqMethod = Adaptation::methodNone

Definition at line 217 of file AccessLogEntry.h.

Referenced by Format::Format::assemble(), and Log::Format::SquidIcap().

◆ request

HttpRequest* AccessLogEntry::IcapLogEntry::request = nullptr

Definition at line 225 of file AccessLogEntry.h.

Referenced by AccessLogEntry::~AccessLogEntry(), and Format::Format::assemble().

◆ reqUri

String AccessLogEntry::IcapLogEntry::reqUri

Definition at line 216 of file AccessLogEntry.h.

Referenced by Format::Format::assemble(), and Log::Format::SquidIcap().

◆ resStatus

Http::StatusCode AccessLogEntry::IcapLogEntry::resStatus = Http::scNone

Definition at line 240 of file AccessLogEntry.h.

Referenced by Format::Format::assemble(), and Log::Format::SquidIcap().

◆ serviceName

String AccessLogEntry::IcapLogEntry::serviceName

Definition at line 215 of file AccessLogEntry.h.

Referenced by Format::Format::assemble().

◆ trTime

struct timeval AccessLogEntry::IcapLogEntry::trTime

The documentation for this class was generated from the following file:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors