NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::nfd::FaceMonitor Class Reference

A subscriber for Face status change notification stream. More...

#include <face-monitor.hpp>

Inheritance diagram for ndn::nfd::FaceMonitor:
Collaboration diagram for ndn::nfd::FaceMonitor:

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::NackonNack
 fires when a NACK is received More...
 
signal::Signal< NotificationSubscriberBaseonTimeout
 fires when no Notification is received within .getInterestLifetime period More...
 
signal::Signal< NotificationSubscriberBase, DataonDecodeError
 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...
 

Detailed Description

A subscriber for Face status change notification stream.

See also
https://redmine.named-data.net/projects/nfd/wiki/FaceMgmt#Face-Status-Change-Notification

Definition at line 40 of file face-monitor.hpp.

Constructor & Destructor Documentation

◆ FaceMonitor()

ndn::nfd::FaceMonitor::FaceMonitor ( Face face)
explicit

Definition at line 33 of file face-monitor.cpp.


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