2 * Copyright (C) 1996-2016 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 #ifndef SQUID_ACLMAXCONNECTION_H
10 #define SQUID_ACLMAXCONNECTION_H
13 #include "acl/Checklist.h"
16 class ACLMaxConnection
: public ACL
18 MEMPROXY_CLASS(ACLMaxConnection
);
21 ACLMaxConnection(char const *);
22 ACLMaxConnection(ACLMaxConnection
const &);
24 ACLMaxConnection
&operator=(ACLMaxConnection
const &);
26 virtual ACL
*clone()const;
27 virtual char const *typeString() const;
29 virtual int match(ACLChecklist
*checklist
);
30 virtual SBufList
dump() const;
31 virtual bool empty () const;
32 virtual bool valid () const;
33 virtual void prepareForUse();
36 static Prototype RegistryProtoype
;
37 static ACLMaxConnection RegistryEntry_
;
42 #endif /* SQUID_ACLMAXCONNECTION_H */