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
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
q
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
n
p
r
s
t
u
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
client-to-nlsr-readvertise-policy.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26
#ifndef NFD_RIB_READVERTISE_CLIENT_TO_NLSR_READVERTISE_POLICY_HPP
27
#define NFD_RIB_READVERTISE_CLIENT_TO_NLSR_READVERTISE_POLICY_HPP
28
29
#include "
readvertise-policy.hpp
"
30
31
namespace
nfd
{
32
namespace
rib {
33
36
class
ClientToNlsrReadvertisePolicy
:
public
ReadvertisePolicy
37
{
38
public
:
44
ndn::optional<ReadvertiseAction>
45
handleNewRoute
(
const
RibRouteRef
& ribRoute)
const override
;
46
47
time::milliseconds
48
getRefreshInterval
()
const override
;
49
};
50
51
}
// namespace rib
52
}
// namespace nfd
53
54
#endif // NFD_RIB_READVERTISE_CLIENT_TO_NLSR_READVERTISE_POLICY_HPP
ndn::optional
Definition:
backports-optional.hpp:93
nfd::rib::RibRouteRef
references a route
Definition:
rib.hpp:43
nfd::rib::ReadvertisePolicy
a policy to decide whether to readvertise a route, and what prefix to readvertise ...
Definition:
readvertise-policy.hpp:45
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:40
nfd::rib::ClientToNlsrReadvertisePolicy
a policy to readvertise routes registered by end hosts into NLSR
Definition:
client-to-nlsr-readvertise-policy.hpp:36
readvertise-policy.hpp
nfd::rib::ClientToNlsrReadvertisePolicy::handleNewRoute
ndn::optional< ReadvertiseAction > handleNewRoute(const RibRouteRef &ribRoute) const override
advertise if the route's origin is client
Definition:
client-to-nlsr-readvertise-policy.cpp:32
nfd::rib::ClientToNlsrReadvertisePolicy::getRefreshInterval
time::milliseconds getRefreshInterval() const override
Definition:
client-to-nlsr-readvertise-policy.cpp:43
ndnSIM
NFD
rib
readvertise
client-to-nlsr-readvertise-policy.hpp
Generated on Sun Feb 25 2018 13:27:06 for ndnSIM by
1.8.14