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