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