26 #ifndef NFD_DAEMON_RIB_READVERTISE_READVERTISE_HPP
27 #define NFD_DAEMON_RIB_READVERTISE_READVERTISE_HPP
47 unique_ptr<ReadvertisePolicy> policy,
48 unique_ptr<ReadvertiseDestination> destination);
58 afterDestinationAvailable();
61 afterDestinationUnavailable();
64 advertise(ReadvertisedRouteContainer::iterator rrIt);
67 withdraw(ReadvertisedRouteContainer::iterator rrIt);
70 unique_ptr<ReadvertisePolicy> m_policy;
71 unique_ptr<ReadvertiseDestination> m_destination;
77 std::map<RibRouteRef, ReadvertisedRouteContainer::iterator> m_routeToRr;
79 signal::ScopedConnection m_addRouteConn;
80 signal::ScopedConnection m_removeRouteConn;
Readvertise a subset of routes to a destination according to a policy.
Readvertise(Rib &rib, unique_ptr< ReadvertisePolicy > policy, unique_ptr< ReadvertiseDestination > destination)
Represents the Routing Information Base.
std::set< ReadvertisedRoute > ReadvertisedRouteContainer