A subscriber for Face status change notification stream. More...
#include <ndn-cxx/mgmt/nfd/face-monitor.hpp>
Inheritance diagram for ndn::nfd::FaceMonitor:
Collaboration diagram for ndn::nfd::FaceMonitor: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 | |
| signal::Signal< NotificationSubscriberBase, Data > | onDecodeError |
| fires when a Data packet in the Notification Stream cannot be decoded as Notification More... | |
| signal::Signal< NotificationSubscriberBase, lp::Nack > | onNack |
| fires when a NACK is received More... | |
| signal::Signal< NotificationSubscriber, FaceEventNotification > | onNotification |
| fires when a Notification is received More... | |
| signal::Signal< NotificationSubscriberBase > | onTimeout |
| fires when no Notification is received within .getInterestLifetime period 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.
|
inlineinherited |
This must be greater than FreshnessPeriod of Notification Data packets, to ensure correct operation of this subscriber implementation.
Definition at line 52 of file notification-subscriber.hpp.
|
inlineinherited |
Definition at line 58 of file notification-subscriber.hpp.
|
inherited |
start or resume receiving notifications
Definition at line 52 of file notification-subscriber.cpp.
|
inherited |
stop receiving notifications
Definition at line 62 of file notification-subscriber.cpp.
|
inherited |
fires when a Data packet in the Notification Stream cannot be decoded as Notification
Definition at line 131 of file notification-subscriber.hpp.
|
inherited |
fires when a NACK is received
Definition at line 123 of file notification-subscriber.hpp.
|
inherited |
fires when a Notification is received
Definition at line 171 of file notification-subscriber.hpp.
|
inherited |
fires when no Notification is received within .getInterestLifetime period
Definition at line 127 of file notification-subscriber.hpp.