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>
53 virtual std::optional<ReadvertiseAction>
58 virtual time::milliseconds
A policy to decide whether to readvertise a route, and what prefix to readvertise.
virtual std::optional< ReadvertiseAction > handleNewRoute(const RibRouteRef &ribRoute) const =0
Decide whether to readvertise a route, and what prefix to readvertise.
virtual time::milliseconds getRefreshInterval() const =0
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