#include <Checklist.h>
Public Member Functions | |
virtual void | checkForAsync (ACLChecklist *) const =0 |
virtual | ~AsyncState () |
Detailed Description
State class. This abstract class defines the behaviour of async lookups - which can vary for different ACL types. Today, every state object must be a singleton. See NULLState for an example.
- Note
- no state should be stored in the state object, they are used to change the behaviour of the checklist, not to hold information. If you need to store information in the state object, consider subclassing ACLChecklist, converting it to a composite, or changing the state objects from singletons to refcounted objects.
Definition at line 46 of file Checklist.h.
Constructor & Destructor Documentation
◆ ~AsyncState()
|
inlinevirtual |
Definition at line 51 of file Checklist.h.
Member Function Documentation
◆ checkForAsync()
|
pure virtual |
Implemented in ACLChecklist::NullState, DestinationDomainLookup, DestinationIPLookup, SourceDomainLookup, ProxyAuthLookup, ExternalACLLookup, and IdentLookup.
Referenced by ACLChecklist::goAsync().
The documentation for this class was generated from the following file:
- src/acl/Checklist.h