NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
+
Typedefs
a
b
c
d
e
f
i
l
m
n
o
p
q
r
s
t
u
v
Enumerations
+
Enumerator
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
u
v
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
~
+
Variables
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
u
w
+
Typedefs
a
b
c
d
e
f
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
+
Enumerator
a
d
e
f
g
i
k
l
m
n
p
r
s
u
w
+
Related Functions
b
c
d
f
i
k
l
n
o
p
s
+
Files
File List
+
File Members
+
All
a
b
c
d
e
f
g
h
k
l
m
n
p
r
s
u
v
w
+
Functions
c
f
h
m
r
s
u
w
+
Variables
a
c
d
g
k
l
n
p
r
s
Typedefs
+
Macros
b
d
e
l
m
n
p
r
s
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
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:119
face
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 Sat Nov 12 2016 16:02:52 for ndnSIM by
1.8.12