26#ifndef NFD_DAEMON_RIB_READVERTISE_HOST_TO_GATEWAY_READVERTISE_POLICY_HPP
27#define NFD_DAEMON_RIB_READVERTISE_HOST_TO_GATEWAY_READVERTISE_POLICY_HPP
32#include <ndn-cxx/security/key-chain.hpp>
45 std::optional<ReadvertiseAction>
52 const ndn::KeyChain& m_keyChain;
53 time::seconds m_refreshInterval;
A policy to readvertise routes registered by local applications into remote gateway.
std::optional< ReadvertiseAction > handleNewRoute(const RibRouteRef &ribRoute) const override
Decide whether to readvertise a route, and what prefix to readvertise.
time::milliseconds getRefreshInterval() const override
A policy to decide whether to readvertise a route, and what prefix to readvertise.
boost::property_tree::ptree ConfigSection
A configuration file section.