]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/mgr/ActionWriter.h
393a4049f9409fba711e0d2f9b1cea8a267f8ac9
2 * Copyright (C) 1996-2016 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 "mgr/StoreToCommWriter.h"
20 /// Creates Store entry, fills it using action's fillEntry(), and
21 /// Comm-writes it using parent StoreToCommWriter.
22 class ActionWriter
: public StoreToCommWriter
24 CBDATA_CLASS(ActionWriter
);
27 ActionWriter(const Action::Pointer
&anAction
, const Comm::ConnectionPointer
&conn
);
34 Action::Pointer action
; ///< action that fills the entry
39 #endif /* SQUID_MGR_ACTION_WRITER_H */