]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/DelayIdComposite.h
2 * Copyright (C) 1996-2022 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 77 Delay Pools */
11 #ifndef DELAYIDCOMPOSITE_H
12 #define DELAYIDCOMPOSITE_H
15 #include "base/forward.h"
16 #include "base/RefCount.h"
19 class DelayIdComposite
: public RefCountable
23 typedef RefCount
<DelayIdComposite
> Pointer
;
24 inline ~DelayIdComposite() override
{}
26 virtual int bytesWanted (int min
, int max
) const =0;
27 virtual void bytesIn(int qty
) = 0;
28 /* only aggregate and vector need this today */
29 virtual void delayRead(const AsyncCallPointer
&) { fatal("Not implemented"); }
32 #endif /* USE_DELAY_POOLS */
33 #endif /* DELAYIDCOMPOSITE_H */