A subscriber for the Face status change notification stream. More...
#include <ndn-cxx/mgmt/nfd/face-monitor.hpp>
Public Member Functions | |
FaceMonitor (Face &face) | |
time::milliseconds | getInterestLifetime () const |
bool | isRunning () const |
void | start () |
Start or resume receiving notifications. More... | |
void | stop () |
Stop receiving notifications. More... | |
Public Attributes | |
ndn::signal::Signal< NotificationSubscriberBase, Data > | onDecodeError |
Fires when a Data packet in the notification stream cannot be decoded as a Notification. More... | |
ndn::signal::Signal< NotificationSubscriberBase, lp::Nack > | onNack |
Fires when a Nack is received. More... | |
ndn::signal::Signal< NotificationSubscriber, FaceEventNotification > | onNotification |
Fires when a Notification is received. More... | |
ndn::signal::Signal< NotificationSubscriberBase > | onTimeout |
Fires when no Notification is received within getInterestLifetime() period. More... | |
A subscriber for the Face status change notification stream.
Definition at line 40 of file face-monitor.hpp.
|
inlineexplicit |
Definition at line 44 of file face-monitor.hpp.
|
inlineinherited |
This must be greater than FreshnessPeriod of Notification Data packets, to ensure correct operation of this subscriber implementation.
Definition at line 51 of file notification-subscriber.hpp.
|
inlineinherited |
Definition at line 57 of file notification-subscriber.hpp.
|
inherited |
Start or resume receiving notifications.
Definition at line 47 of file notification-subscriber.cpp.
|
inherited |
Stop receiving notifications.
Definition at line 57 of file notification-subscriber.cpp.
|
inherited |
Fires when a Data packet in the notification stream cannot be decoded as a Notification.
Definition at line 128 of file notification-subscriber.hpp.
|
inherited |
Fires when a Nack is received.
Definition at line 122 of file notification-subscriber.hpp.
|
inherited |
Fires when a Notification is received.
Definition at line 170 of file notification-subscriber.hpp.
|
inherited |
Fires when no Notification is received within getInterestLifetime() period.
Definition at line 125 of file notification-subscriber.hpp.