|
Squid Web Cache master
|
#include <Subscription.h>
Public Types | |
| typedef RefCount< Subscription > | Pointer |
Public Member Functions | |
| virtual AsyncCall::Pointer | callback () const =0 |
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.
| typedef RefCount<Subscription> Subscription::Pointer |
Definition at line 28 of file Subscription.h.
|
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_ >.