A policy to decide whether to readvertise a route, and what prefix to readvertise. More...
#include <daemon/rib/readvertise/readvertise-policy.hpp>
Inheritance diagram for nfd::rib::ReadvertisePolicy:
Collaboration diagram for nfd::rib::ReadvertisePolicy:Public Member Functions | |
| virtual | ~ReadvertisePolicy ()=default |
| virtual time::milliseconds | getRefreshInterval () const =0 |
| virtual std::optional< ReadvertiseAction > | handleNewRoute (const RibRouteRef &ribRoute) const =0 |
| Decide whether to readvertise a route, and what prefix to readvertise. More... | |
A policy to decide whether to readvertise a route, and what prefix to readvertise.
Definition at line 45 of file readvertise-policy.hpp.
|
virtualdefault |
|
pure virtual |
Implemented in nfd::rib::HostToGatewayReadvertisePolicy, and nfd::rib::ClientToNlsrReadvertisePolicy.
|
pure virtual |
Decide whether to readvertise a route, and what prefix to readvertise.
Implemented in nfd::rib::HostToGatewayReadvertisePolicy, and nfd::rib::ClientToNlsrReadvertisePolicy.