#include <Subscription.h>
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