NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
websocketpp::lib::asio::milliseconds
boost::posix_time::time_duration milliseconds(long duration)
Definition:
asio.hpp:117
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 Thu Nov 2 2017 03:30:29 for ndnSIM by
1.8.11