A subscriber for Face status change notification stream. More...
#include <face-monitor.hpp>
Public Member Functions | |
FaceMonitor (Face &face) | |
Public Member Functions inherited from ndn::util::NotificationSubscriber< FaceEventNotification > | |
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... | |
Additional Inherited Members | |
Public Attributes inherited from ndn::util::NotificationSubscriber< FaceEventNotification > | |
WireDecodable< Notification > | |
signal::Signal< NotificationSubscriber, FaceEventNotification > | 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... | |
Protected Member Functions inherited from ndn::util::NotificationSubscriberBase | |
NotificationSubscriberBase (Face &face, const Name &prefix, time::milliseconds interestLifetime) | |
construct a NotificationSubscriber More... | |
A subscriber for Face status change notification stream.
Definition at line 40 of file face-monitor.hpp.
|
explicit |
Definition at line 33 of file face-monitor.cpp.