nfd::rib::Readvertise Class Reference

readvertise a subset of routes to a destination according to a policy More...

#include <rib/readvertise/readvertise.hpp>

+ Inheritance diagram for nfd::rib::Readvertise:
+ Collaboration diagram for nfd::rib::Readvertise:

Public Member Functions

 Readvertise (Rib &rib, ndn::util::Scheduler &scheduler, unique_ptr< ReadvertisePolicy > policy, unique_ptr< ReadvertiseDestination > destination)
 

Detailed Description

readvertise a subset of routes to a destination according to a policy

The Readvertise class allows RIB routes to be readvertised to a destination such as a routing protocol daemon or another NFD-RIB. It monitors the RIB for route additions and removals, asks the ReadvertisePolicy to make decision on whether to readvertise each new route and what prefix to readvertise as, and invokes a ReadvertiseDestination to send the commands.

Definition at line 44 of file readvertise.hpp.

Constructor & Destructor Documentation

nfd::rib::Readvertise::Readvertise ( Rib rib,
ndn::util::Scheduler &  scheduler,
unique_ptr< ReadvertisePolicy policy,
unique_ptr< ReadvertiseDestination destination 
)

Definition at line 46 of file readvertise.cpp.