Subscription Class Referenceabstract

#include <Subscription.h>

Inheritance diagram for Subscription:
Collaboration diagram for Subscription:

Public Types

typedef RefCount< SubscriptionPointer

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

Definition at line 28 of file Subscription.h.

Member Function Documentation

◆ callback()

virtual AsyncCall::Pointer Subscription::callback ( ) const
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_ >.

Referenced by Comm::TcpAcceptor::notify().

The documentation for this class was generated from the following file:






Web Site Translations