26 #ifndef NFD_RIB_READVERTISE_READVERTISE_HPP 27 #define NFD_RIB_READVERTISE_READVERTISE_HPP 50 unique_ptr<ReadvertisePolicy> policy,
51 unique_ptr<ReadvertiseDestination> destination);
61 afterDestinationAvailable();
64 afterDestinationUnavailable();
75 using RouteRrIndex = std::map<RibRouteRef, ReadvertisedRouteContainer::iterator>;
77 static const time::milliseconds RETRY_DELAY_MIN;
78 static const time::milliseconds RETRY_DELAY_MAX;
80 unique_ptr<ReadvertisePolicy> m_policy;
81 unique_ptr<ReadvertiseDestination> m_destination;
84 RouteRrIndex m_routeToRr;
86 signal::ScopedConnection m_addRouteConn;
87 signal::ScopedConnection m_removeRouteConn;
93 #endif // NFD_RIB_READVERTISE_READVERTISE_HPP std::set< ReadvertisedRoute > ReadvertisedRouteContainer
represents the Routing Information Base
Table::const_iterator iterator
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
Readvertise(Rib &rib, unique_ptr< ReadvertisePolicy > policy, unique_ptr< ReadvertiseDestination > destination)
readvertise a subset of routes to a destination according to a policy