26 #ifndef NFD_RIB_READVERTISE_READVERTISE_DESTINATION_HPP 27 #define NFD_RIB_READVERTISE_READVERTISE_DESTINATION_HPP 44 std::function<
void()> successCb,
45 std::function<
void(
const std::string&)> failureCb) = 0;
49 std::function<
void()> successCb,
50 std::function<
void(
const std::string&)> failureCb) = 0;
68 bool m_isAvailable =
false;
74 #endif // NFD_RIB_READVERTISE_READVERTISE_DESTINATION_HPP virtual void withdraw(const ReadvertisedRoute &rr, std::function< void()> successCb, std::function< void(const std::string &)> failureCb)=0
void setAvailability(bool isAvailable)
virtual ~ReadvertiseDestination()=default
state of a readvertised route
virtual void advertise(const ReadvertisedRoute &rr, std::function< void()> successCb, std::function< void(const std::string &)> failureCb)=0
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
a destination to readvertise into
signal::Signal< ReadvertiseDestination, bool > afterAvailabilityChange
signals when the destination becomes available or unavailable