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>
46 optional<ReadvertiseAction>
53 const ndn::KeyChain& m_keyChain;
54 time::seconds m_refreshInterval;
a policy to readvertise routes registered by local applications into remote gateway
HostToGatewayReadvertisePolicy(const ndn::KeyChain &keyChain, const ConfigSection §ion)
time::milliseconds getRefreshInterval() const override
optional< ReadvertiseAction > handleNewRoute(const RibRouteRef &ribRoute) const override
decide whether to readvertise a route, and what prefix to readvertise
a policy to decide whether to readvertise a route, and what prefix to readvertise
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents,...
boost::property_tree::ptree ConfigSection
a config file section