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
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
websocketpp::lib::asio::milliseconds
boost::posix_time::time_duration milliseconds(long duration)
Definition:
asio.hpp:117
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:59
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 Thu Nov 2 2017 03:30:29 for ndnSIM by
1.8.11