Squid Web Cache
master
Loading...
Searching...
No Matches
ActionWriter.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 1996-2025 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_SRC_MGR_ACTIONWRITER_H
12
#define SQUID_SRC_MGR_ACTIONWRITER_H
13
14
#include "
comm/forward.h
"
15
#include "
mgr/StoreToCommWriter.h
"
16
17
namespace
Mgr
18
{
19
22
class
ActionWriter
:
public
StoreToCommWriter
23
{
24
CBDATA_CHILD
(
ActionWriter
);
25
26
public
:
27
ActionWriter
(
const
Action::Pointer
&anAction,
const
Comm::ConnectionPointer
&conn);
28
29
protected
:
30
/* AsyncJob API */
31
void
start
()
override
;
32
33
private
:
34
Action::Pointer
action
;
35
};
36
37
}
// namespace Mgr
38
39
#endif
/* SQUID_SRC_MGR_ACTIONWRITER_H */
40
StoreToCommWriter.h
Mgr::ActionWriter
Definition
ActionWriter.h:23
Mgr::ActionWriter::action
Action::Pointer action
action that fills the entry
Definition
ActionWriter.h:34
Mgr::ActionWriter::CBDATA_CHILD
CBDATA_CHILD(ActionWriter)
Mgr::ActionWriter::start
void start() override
called by AsyncStart; do not call directly
Definition
ActionWriter.cc:27
Mgr::StoreToCommWriter
Definition
StoreToCommWriter.h:30
RefCount< Action >
forward.h
Mgr
Cache Manager API.
Definition
Action.h:21
squid
src
mgr
ActionWriter.h
Generated by
1.9.8