#include <Subscription.h>
![Inheritance graph](classSubscription__inherit__graph.png)
![Collaboration graph](classSubscription__coll__graph.png)
Public Types | |
typedef RefCount< Subscription > | Pointer |
Public Member Functions | |
virtual AsyncCall::Pointer | callback () const =0 |
Detailed Description
API for creating a series of AsyncCalls. This is necessary because the same AsyncCall callback must not be fired multiple times.
The call producer needs to accept and store a Subscription::Pointer. It also should provide some mechanism for adding/removing/changing the stored Subscription::Pointer.
The callback() method of Subscription::Pointer will spawn AsyncCall to be filled out and scheduled as needed.
Definition at line 25 of file Subscription.h.
Member Typedef Documentation
◆ Pointer
typedef RefCount<Subscription> Subscription::Pointer |
Definition at line 28 of file Subscription.h.
Member Function Documentation
◆ callback()
|
pure virtual |
returns a call object to be used for the next call back. Child implementations must ensure the Call pointer produced is not NULL.
Implemented in CallSubscription< Call_ >.
The documentation for this class was generated from the following file:
- src/base/Subscription.h
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products