MaxConnection.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 #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 *);
24 
25  virtual ACL *clone()const;
26  virtual char const *typeString() const;
27  virtual void parse();
28  virtual int match(ACLChecklist *checklist);
29  virtual SBufList dump() const;
30  virtual bool empty () const;
31  virtual bool valid () const;
32  virtual void prepareForUse();
33 
34 protected:
35  char const *class_;
36  int limit;
37 };
38 
39 #endif /* SQUID_ACLMAXCONNECTION_H */
40 
virtual bool valid() const
char const * class_
Definition: MaxConnection.h:35
virtual ACL * clone() const
virtual void prepareForUse()
MEMPROXY_CLASS(ACLMaxConnection)
Definition: Acl.h:39
virtual bool empty() const
ACLMaxConnection(char const *)
std::list< SBuf > SBufList
Definition: forward.h:26
virtual void parse()
parses node represenation in squid.conf; dies on failures
virtual char const * typeString() const
virtual int match(ACLChecklist *checklist)
Matches the actual data in checklist against this ACL.
ACLMaxConnection & operator=(ACLMaxConnection const &)
virtual SBufList dump() const

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors