]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/mgr/ActionWriter.h
2 * Copyright (C) 1996-2014 The Squid Software Foundation and contributors
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
9 /* DEBUG: section 16 Cache Manager API */
11 #ifndef SQUID_MGR_ACTION_WRITER_H
12 #define SQUID_MGR_ACTION_WRITER_H
14 #include "comm/forward.h"
15 #include "HttpRequestMethod.h"
16 #include "mgr/StoreToCommWriter.h"
21 /// Creates Store entry, fills it using action's fillEntry(), and
22 /// Comm-writes it using parent StoreToCommWriter.
23 class ActionWriter
: public StoreToCommWriter
26 ActionWriter(const Action::Pointer
&anAction
, const Comm::ConnectionPointer
&conn
);
33 Action::Pointer action
; ///< action that fills the entry
35 CBDATA_CLASS2(ActionWriter
);
40 #endif /* SQUID_MGR_ACTION_WRITER_H */