a policy to readvertise routes registered by end hosts into NLSR More...
#include <client-to-nlsr-readvertise-policy.hpp>
Public Member Functions | |
ndn::optional< ReadvertiseAction > | handleNewRoute (const RibRouteRef &ribRoute) const override |
advertise if the route's origin is client More... | |
time::milliseconds | getRefreshInterval () const override |
Public Member Functions inherited from nfd::rib::ReadvertisePolicy | |
virtual | ~ReadvertisePolicy ()=default |
a policy to readvertise routes registered by end hosts into NLSR
Definition at line 36 of file client-to-nlsr-readvertise-policy.hpp.
|
overridevirtual |
advertise if the route's origin is client
If the route origin is "client" (typically from auto prefix propagation), readvertise it using the default signing identity.
Implements nfd::rib::ReadvertisePolicy.
Definition at line 32 of file client-to-nlsr-readvertise-policy.cpp.
References nfd::rib::RibRouteRef::entry, websocketpp::lib::asio::milliseconds(), ndn::nullopt, nfd::rib::RibRouteRef::route, and ndn::nfd::ROUTE_ORIGIN_CLIENT.
|
overridevirtual |
Implements nfd::rib::ReadvertisePolicy.
Definition at line 43 of file client-to-nlsr-readvertise-policy.cpp.