#ifndef SQUID_ICAPMODXACT_H
#define SQUID_ICAPMODXACT_H
+#include "AccessLogEntry.h"
#include "adaptation/icap/InOut.h"
#include "adaptation/icap/Launcher.h"
#include "adaptation/icap/Xaction.h"
{
public:
- ModXact(HttpMsg *virginHeader, HttpRequest *virginCause, ServiceRep::Pointer &s);
+ ModXact(HttpMsg *virginHeader, HttpRequest *virginCause, AccessLogEntry::Pointer &alp, ServiceRep::Pointer &s);
virtual ~ModXact();
// BodyProducer methods
} sending;
} state;
+ AccessLogEntry::Pointer alMaster; ///< Master transaction AccessLogEntry
CBDATA_CLASS2(ModXact);
};
class ModXactLauncher: public Launcher
{
public:
- ModXactLauncher(HttpMsg *virginHeader, HttpRequest *virginCause, Adaptation::ServicePointer s);
+ ModXactLauncher(HttpMsg *virginHeader, HttpRequest *virginCause, AccessLogEntry::Pointer &alp, Adaptation::ServicePointer s);
protected:
virtual Xaction *createXaction();
InOut virgin;
+ AccessLogEntry::Pointer al;
+
private:
CBDATA_CLASS2(ModXactLauncher);
};