26 #ifndef NFD_DAEMON_RIB_READVERTISE_READVERTISE_HPP 27 #define NFD_DAEMON_RIB_READVERTISE_READVERTISE_HPP 48 unique_ptr<ReadvertisePolicy> policy,
49 unique_ptr<ReadvertiseDestination> destination);
59 afterDestinationAvailable();
62 afterDestinationUnavailable();
65 advertise(ReadvertisedRouteContainer::iterator rrIt);
68 withdraw(ReadvertisedRouteContainer::iterator rrIt);
73 using RouteRrIndex = std::map<RibRouteRef, ReadvertisedRouteContainer::iterator>;
75 static const time::milliseconds RETRY_DELAY_MIN;
76 static const time::milliseconds RETRY_DELAY_MAX;
78 unique_ptr<ReadvertisePolicy> m_policy;
79 unique_ptr<ReadvertiseDestination> m_destination;
82 RouteRrIndex m_routeToRr;
84 signal::ScopedConnection m_addRouteConn;
85 signal::ScopedConnection m_removeRouteConn;
91 #endif // NFD_DAEMON_RIB_READVERTISE_READVERTISE_HPP std::set< ReadvertisedRoute > ReadvertisedRouteContainer
represents the Routing Information Base
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