26#ifndef NFD_DAEMON_RIB_READVERTISE_READVERTISE_POLICY_HPP
27#define NFD_DAEMON_RIB_READVERTISE_READVERTISE_POLICY_HPP
31#include <ndn-cxx/security/signing-info.hpp>
54 virtual std::optional<ReadvertiseAction>
59 virtual time::milliseconds
A policy to decide whether to readvertise a route, and what prefix to readvertise.
virtual time::milliseconds getRefreshInterval() const =0
virtual std::optional< ReadvertiseAction > handleNewRoute(const RibRouteRef &ribRoute) const =0
Decide whether to readvertise a route, and what prefix to readvertise.
virtual ~ReadvertisePolicy()=default
A decision made by readvertise policy.
Name prefix
the prefix that should be readvertised
ndn::security::SigningInfo signer
credentials for command signing