]> git.ipfire.org Git - thirdparty/squid.git/blame - src/mgr/Filler.h
Boilerplate: update copyright blurbs on src/
[thirdparty/squid.git] / src / mgr / Filler.h
CommitLineData
8822ebee 1/*
bbc27441 2 * Copyright (C) 1996-2014 The Squid Software Foundation and contributors
8822ebee 3 *
bbc27441
AJ
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.
8822ebee
AR
7 */
8
bbc27441
AJ
9/* DEBUG: section 16 Cache Manager API */
10
8822ebee
AR
11#ifndef SQUID_MGR_FILLER_H
12#define SQUID_MGR_FILLER_H
13
c3e8e4e9 14#include "comm/forward.h"
8822ebee
AR
15#include "HttpRequestMethod.h"
16#include "mgr/Action.h"
17#include "mgr/StoreToCommWriter.h"
18
19namespace Mgr
20{
21
22/// provides Coordinator with a local cache manager response
23class Filler: public StoreToCommWriter
24{
25public:
c3e8e4e9 26 Filler(const Action::Pointer &anAction, const Comm::ConnectionPointer &conn, unsigned int aRequestId);
8822ebee
AR
27
28protected:
29 /* AsyncJob API */
30 virtual void start();
31 virtual void swanSong();
32
33private:
34 Action::Pointer action; ///< action that will run() and sendResponse()
35 unsigned int requestId; ///< the ID of the Request we are responding to
36
37 CBDATA_CLASS2(Filler);
38};
39
40} // namespace Mgr
41
42#endif /* SQUID_MGR_FILLER_H */