provides a subscriber of Notification Stream More...
#include <notification-subscriber.hpp>
Public Member Functions | |
NotificationSubscriber (Face &face, const Name &prefix, time::milliseconds interestLifetime=1_min) | |
construct a NotificationSubscriber More... | |
Public Member Functions inherited from ndn::util::NotificationSubscriberBase | |
virtual | ~NotificationSubscriberBase () |
time::milliseconds | getInterestLifetime () const |
bool | isRunning () const |
void | start () |
start or resume receiving notifications More... | |
void | stop () |
stop receiving notifications More... | |
Public Attributes | |
WireDecodable< Notification > | |
signal::Signal< NotificationSubscriber, Notification > | onNotification |
fires when a Notification is received More... | |
Public Attributes inherited from ndn::util::NotificationSubscriberBase | |
signal::Signal< NotificationSubscriberBase, lp::Nack > | onNack |
fires when a NACK is received More... | |
signal::Signal< NotificationSubscriberBase > | onTimeout |
fires when no Notification is received within .getInterestLifetime period More... | |
signal::Signal< NotificationSubscriberBase, Data > | onDecodeError |
fires when a Data packet in the Notification Stream cannot be decoded as Notification More... | |
Additional Inherited Members | |
Protected Member Functions inherited from ndn::util::NotificationSubscriberBase | |
NotificationSubscriberBase (Face &face, const Name &prefix, time::milliseconds interestLifetime) | |
construct a NotificationSubscriber More... | |
provides a subscriber of Notification Stream
Notification | type of Notification item, appears in payload of Data packets |
Definition at line 149 of file notification-subscriber.hpp.
|
inline |
construct a NotificationSubscriber
Definition at line 159 of file notification-subscriber.hpp.
ndn::util::NotificationSubscriber< Notification >::WireDecodable< Notification > |
Definition at line 153 of file notification-subscriber.hpp.
signal::Signal<NotificationSubscriber, Notification> ndn::util::NotificationSubscriber< Notification >::onNotification |
fires when a Notification is received
Definition at line 169 of file notification-subscriber.hpp.
Referenced by nfd::rib::RibManager::registerWithNfd().