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

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

#include <nfd-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, const time::milliseconds &interestLifetime=time::milliseconds(60000))
 construct a NotificationSubscriber More...
 
virtual ~NotificationSubscriber ()
 
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...
 
signal::Signal< NotificationSubscriberonTimeout
 fires when no Notification is received within .getInterestLifetime period More...
 
signal::Signal< NotificationSubscriber, DataonDecodeError
 fires when a Data packet in the Notification Stream cannot be decoded as Notification More...
 

Detailed Description

A subscriber for Face status change notification stream.

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

Definition at line 60 of file nfd-face-monitor.hpp.

Constructor & Destructor Documentation

§ FaceMonitor()

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

Definition at line 63 of file nfd-face-monitor.hpp.


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