]> git.ipfire.org Git - thirdparty/squid.git/blame - src/mgr/ActionWriter.cc
Removed CVS $ markers
[thirdparty/squid.git] / src / mgr / ActionWriter.cc
CommitLineData
8822ebee 1/*
8822ebee
AR
2 * DEBUG: section 16 Cache Manager API
3 *
4 */
5
f7f3304a 6#include "squid.h"
8822ebee 7#include "base/TextException.h"
c3e8e4e9 8#include "comm/Connection.h"
8822ebee
AR
9#include "mgr/ActionWriter.h"
10#include "Store.h"
11
8822ebee
AR
12CBDATA_NAMESPACED_CLASS_INIT(Mgr, ActionWriter);
13
c3e8e4e9
AJ
14Mgr::ActionWriter::ActionWriter(const Action::Pointer &anAction, const Comm::ConnectionPointer &conn):
15 StoreToCommWriter(conn, anAction->createStoreEntry()),
d9fc6862 16 action(anAction)
8822ebee 17{
c3e8e4e9 18 debugs(16, 5, HERE << conn << " action: " << action);
8822ebee
AR
19}
20
21void
22Mgr::ActionWriter::start()
23{
24 debugs(16, 5, HERE);
25 Must(action != NULL);
26
27 StoreToCommWriter::start();
28 action->fillEntry(entry, false);
29}