26 #ifndef NFD_DAEMON_RIB_READVERTISE_READVERTISE_DESTINATION_HPP
27 #define NFD_DAEMON_RIB_READVERTISE_READVERTISE_DESTINATION_HPP
43 std::function<
void()> successCb,
44 std::function<
void(
const std::string&)> failureCb) = 0;
48 std::function<
void()> successCb,
49 std::function<
void(
const std::string&)> failureCb) = 0;
67 bool m_isAvailable =
false;
A destination to readvertise into.
virtual void withdraw(const ReadvertisedRoute &rr, std::function< void()> successCb, std::function< void(const std::string &)> failureCb)=0
virtual void advertise(const ReadvertisedRoute &rr, std::function< void()> successCb, std::function< void(const std::string &)> failureCb)=0
virtual ~ReadvertiseDestination()=default
void setAvailability(bool isAvailable)
signal::Signal< ReadvertiseDestination, bool > afterAvailabilityChange
Signals when the destination becomes available or unavailable.
State of a readvertised route.