MaxConnection.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2022 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 #ifndef SQUID_ACLMAXCONNECTION_H
10 #define SQUID_ACLMAXCONNECTION_H
11 
12 #include "acl/Acl.h"
13 
15 class ACLMaxConnection : public ACL
16 {
18 
19 public:
20  ACLMaxConnection(char const *);
22 
23  virtual char const *typeString() const;
24  virtual void parse();
25  virtual int match(ACLChecklist *checklist);
26  virtual SBufList dump() const;
27  virtual bool empty () const;
28  virtual bool valid () const;
29  virtual void prepareForUse();
30 
31 protected:
32  char const *class_;
33  int limit;
34 };
35 
36 #endif /* SQUID_ACLMAXCONNECTION_H */
37 
virtual bool valid() const
virtual char const * typeString() const
char const * class_
Definition: MaxConnection.h:32
virtual void parse()
parses node representation in squid.conf; dies on failures
virtual SBufList dump() const
virtual bool empty() const
ACLMaxConnection(char const *)
MEMPROXY_CLASS(ACLMaxConnection)
virtual void prepareForUse()
virtual int match(ACLChecklist *checklist)
Matches the actual data in checklist against this ACL.
Definition: Acl.h:40
std::list< SBuf > SBufList
Definition: forward.h:22

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors