NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
nfd-face-monitor.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
48
#ifndef NDN_MANAGEMENT_NFD_FACE_MONITOR_HPP
49
#define NDN_MANAGEMENT_NFD_FACE_MONITOR_HPP
50
51
#include "../util/notification-subscriber.hpp"
52
#include "
nfd-face-event-notification.hpp
"
53
54
namespace
ndn
{
55
namespace
nfd
{
56
60
class
FaceMonitor
:
public
util::NotificationSubscriber
<FaceEventNotification>
61
{
62
public
:
63
FaceMonitor
(
Face
& face)
64
:
NotificationSubscriber
<
nfd
::
FaceEventNotification
>(face,
"ndn:/localhost/nfd/faces/events"
)
65
{
66
}
67
};
68
69
}
// namespace nfd
70
}
// namespace ndn
71
72
#endif // NDN_MANAGEMENT_NFD_FACE_MONITOR_HPP
ndn
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-strategy-choice-helper.hpp:34
ndn::util::NotificationSubscriber< FaceEventNotification >::NotificationSubscriber
NotificationSubscriber(Face &face, const Name &prefix, const time::milliseconds &interestLifetime=time::milliseconds(60000))
construct a NotificationSubscriber
Definition:
notification-subscriber.hpp:74
ndn::nfd::FaceEventNotification
represents a Face status change notification
Definition:
nfd-face-event-notification.hpp:44
ndn::nfd::FaceMonitor
A subscriber for Face status change notification stream.
Definition:
nfd-face-monitor.hpp:60
ndn::nfd::FaceMonitor::FaceMonitor
FaceMonitor(Face &face)
Definition:
nfd-face-monitor.hpp:63
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:40
ndn::Face
Abstraction to communicate with local or remote NDN forwarder.
Definition:
face.hpp:100
ndn::util::NotificationSubscriber
provides a subscriber of Notification Stream
Definition:
notification-subscriber.hpp:64
nfd-face-event-notification.hpp
ndnSIM
ndn-cxx
src
management
nfd-face-monitor.hpp
Generated on Fri Feb 23 2018 12:30:54 for ndnSIM by
1.8.14