Filler.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
3  *
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.
7  */
8 
9 /* DEBUG: section 16 Cache Manager API */
10 
11 #ifndef SQUID_MGR_FILLER_H
12 #define SQUID_MGR_FILLER_H
13 
14 #include "comm/forward.h"
15 #include "mgr/Action.h"
16 #include "mgr/StoreToCommWriter.h"
17 
18 namespace Mgr
19 {
20 
23 {
25 
26 public:
27  Filler(const Action::Pointer &anAction, const Comm::ConnectionPointer &conn, unsigned int aRequestId);
28 
29 protected:
30  /* AsyncJob API */
31  virtual void start();
32  virtual void swanSong();
33 
34 private:
36  unsigned int requestId;
37 };
38 
39 } // namespace Mgr
40 
41 #endif /* SQUID_MGR_FILLER_H */
42 
Action::Pointer action
action that will run() and sendResponse()
Definition: Filler.h:35
Filler(const Action::Pointer &anAction, const Comm::ConnectionPointer &conn, unsigned int aRequestId)
Definition: Filler.cc:20
CBDATA_CLASS(Filler)
int conn
the current server connection FD
Definition: Transport.cc:26
provides Coordinator with a local cache manager response
Definition: Filler.h:22
virtual void start()
called by AsyncStart; do not call directly
Definition: Filler.cc:30
virtual void swanSong()
Definition: Filler.cc:41
unsigned int requestId
the ID of the Request we are responding to
Definition: Filler.h:36

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors