26#ifndef NFD_DAEMON_RIB_READVERTISE_READVERTISED_ROUTE_HPP
27#define NFD_DAEMON_RIB_READVERTISE_READVERTISED_ROUTE_HPP
31#include <ndn-cxx/security/signing-info.hpp>
32#include <ndn-cxx/util/scheduler.hpp>
59 mutable ndn::security::SigningInfo
signer;
62 mutable ndn::scheduler::ScopedEventId
retryEvt;
State of a readvertised route.
size_t nRibRoutes
number of RIB routes that cause the readvertisement
uint64_t cost
cost to reach the prefix
ReadvertisedRoute(const Name &prefix, uint64_t cost)
friend bool operator<(const ReadvertisedRoute &lhs, const ReadvertisedRoute &rhs)
ndn::security::SigningInfo signer
signer for commands
Name prefix
readvertised prefix
ndn::scheduler::ScopedEventId retryEvt
retry or refresh event
time::milliseconds retryDelay
retry interval (not used for refresh)
std::set< ReadvertisedRoute > ReadvertisedRouteContainer