nfd::rib::Readvertise Class Reference

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

#include <daemon/rib/readvertise/readvertise.hpp>

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

Public Member Functions

 Readvertise (Rib &rib, 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 43 of file readvertise.hpp.

Constructor & Destructor Documentation

◆ Readvertise()

nfd::rib::Readvertise::Readvertise ( Rib rib,
unique_ptr< ReadvertisePolicy policy,
unique_ptr< ReadvertiseDestination destination 
)

Definition at line 47 of file readvertise.cpp.