AccessLogEntry::IcapLogEntry Class Reference

This subclass holds log info for ICAP part of request. 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

Todo:
Inner class declarations should be moved outside

Definition at line 191 of file AccessLogEntry.h.

Constructor & Destructor Documentation

AccessLogEntry::IcapLogEntry::IcapLogEntry ( )
inline

Definition at line 194 of file AccessLogEntry.h.

References ioTime, processingTime, and trTime.

Member Data Documentation

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 210 of file AccessLogEntry.h.

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

int64_t AccessLogEntry::IcapLogEntry::bytesRead = 0

Definition at line 205 of file AccessLogEntry.h.

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

int64_t AccessLogEntry::IcapLogEntry::bytesSent = 0

Definition at line 204 of file AccessLogEntry.h.

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

Ip::Address AccessLogEntry::IcapLogEntry::hostAddr

Definition at line 200 of file AccessLogEntry.h.

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

struct timeval AccessLogEntry::IcapLogEntry::ioTime

Definition at line 225 of file AccessLogEntry.h.

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

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

Definition at line 214 of file AccessLogEntry.h.

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

struct timeval AccessLogEntry::IcapLogEntry::processingTime

Definition at line 227 of file AccessLogEntry.h.

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

HttpReply* AccessLogEntry::IcapLogEntry::reply = nullptr

Definition at line 212 of file AccessLogEntry.h.

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

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

Definition at line 203 of file AccessLogEntry.h.

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

HttpRequest* AccessLogEntry::IcapLogEntry::request = nullptr

Definition at line 211 of file AccessLogEntry.h.

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

String AccessLogEntry::IcapLogEntry::reqUri

Definition at line 202 of file AccessLogEntry.h.

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

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

Definition at line 226 of file AccessLogEntry.h.

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

String AccessLogEntry::IcapLogEntry::serviceName

Definition at line 201 of file AccessLogEntry.h.

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

struct timeval AccessLogEntry::IcapLogEntry::trTime

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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors