NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: 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
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
p
q
r
s
t
u
v
w
+
Typedefs
a
b
c
d
e
f
h
i
k
l
n
o
p
q
r
s
t
u
v
+
Enumerations
a
b
c
d
f
i
k
l
n
p
q
r
s
t
u
+
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
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
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Enumerations
+
Enumerator
a
c
d
e
i
k
l
m
n
p
r
s
u
w
+
Related Functions
b
c
d
e
f
g
i
k
l
m
n
o
p
s
v
+
Files
File List
+
File Members
+
All
a
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
u
v
w
+
Functions
c
f
h
m
r
s
u
w
+
Variables
a
c
d
f
g
i
k
l
m
n
p
r
s
t
Typedefs
+
Macros
d
e
f
i
l
m
n
p
r
s
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
readvertised-route.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26
#ifndef NFD_RIB_READVERTISE_READVERTISED_ROUTE_HPP
27
#define NFD_RIB_READVERTISE_READVERTISED_ROUTE_HPP
28
29
#include "
core/scheduler.hpp
"
30
#include <ndn-cxx/security/signing-info.hpp>
31
32
namespace
nfd
{
33
namespace
rib {
34
37
class
ReadvertisedRoute
: noncopyable
38
{
39
public
:
40
explicit
41
ReadvertisedRoute
(
const
Name
&
prefix
);
42
43
public
:
44
Name
prefix
;
45
mutable
ndn::security::SigningInfo
signer
;
46
mutable
size_t
nRibRoutes
;
47
mutable
time::milliseconds
retryDelay
;
48
mutable
scheduler::ScopedEventId
retryEvt
;
49
};
50
51
inline
bool
52
operator<
(
const
ReadvertisedRoute
& lhs,
const
ReadvertisedRoute
& rhs)
53
{
54
return
lhs.
prefix
< rhs.
prefix
;
55
}
56
57
using
ReadvertisedRouteContainer
= std::set<ReadvertisedRoute>;
58
59
}
// namespace rib
60
}
// namespace nfd
61
62
#endif // NFD_RIB_READVERTISE_READVERTISED_ROUTE_HPP
nfd::rib::ReadvertisedRouteContainer
std::set< ReadvertisedRoute > ReadvertisedRouteContainer
Definition:
readvertised-route.hpp:57
nfd::rib::ReadvertisedRoute::ReadvertisedRoute
ReadvertisedRoute(const Name &prefix)
Definition:
readvertised-route.cpp:32
ndn::security::SigningInfo
Signing parameters passed to KeyChain.
Definition:
signing-info.hpp:40
nfd::rib::ReadvertisedRoute::nRibRoutes
size_t nRibRoutes
number of RIB routes that cause the readvertisement
Definition:
readvertised-route.hpp:46
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:40
nfd::rib::ReadvertisedRoute
state of a readvertised route
Definition:
readvertised-route.hpp:37
nfd::rib::ReadvertisedRoute::signer
ndn::security::SigningInfo signer
signer for commands
Definition:
readvertised-route.hpp:45
nfd::rib::ReadvertisedRoute::retryEvt
scheduler::ScopedEventId retryEvt
retry or refresh event
Definition:
readvertised-route.hpp:48
nfd::rib::ReadvertisedRoute::prefix
Name prefix
readvertised prefix
Definition:
readvertised-route.hpp:44
nfd::scheduler::ScopedEventId
Cancels an event automatically upon destruction.
Definition:
scheduler.hpp:60
ndn::Name
Represents an absolute name.
Definition:
name.hpp:42
scheduler.hpp
nfd::rib::ReadvertisedRoute::retryDelay
time::milliseconds retryDelay
retry interval (not used for refresh)
Definition:
readvertised-route.hpp:47
nfd::rib::operator<
bool operator<(const ReadvertisedRoute &lhs, const ReadvertisedRoute &rhs)
Definition:
readvertised-route.hpp:52
ndnSIM
NFD
rib
readvertise
readvertised-route.hpp
Generated on Tue Aug 7 2018 16:19:18 for ndnSIM by
1.8.14