a destination to readvertise into More...
#include <readvertise-destination.hpp>
Public Member Functions | |
virtual | ~ReadvertiseDestination ()=default |
virtual void | advertise (const ReadvertisedRoute &rr, std::function< void()> successCb, std::function< void(const std::string &)> failureCb)=0 |
virtual void | withdraw (const ReadvertisedRoute &rr, std::function< void()> successCb, std::function< void(const std::string &)> failureCb)=0 |
bool | isAvailable () const |
Public Attributes | |
signal::Signal< ReadvertiseDestination, bool > | afterAvailabilityChange |
signals when the destination becomes available or unavailable More... | |
Protected Member Functions | |
void | setAvailability (bool isAvailable) |
a destination to readvertise into
Definition at line 36 of file readvertise-destination.hpp.
|
virtualdefault |
|
pure virtual |
Implemented in nfd::rib::NfdRibReadvertiseDestination.
|
pure virtual |
Implemented in nfd::rib::NfdRibReadvertiseDestination.
|
inline |
Definition at line 53 of file readvertise-destination.hpp.
References setAvailability().
Referenced by setAvailability().
|
protected |
Definition at line 35 of file readvertise-destination.cpp.
References afterAvailabilityChange, isAvailable(), and NFD_LOG_DEBUG.
Referenced by isAvailable(), and nfd::rib::NfdRibReadvertiseDestination::withdraw().
signal::Signal<ReadvertiseDestination, bool> nfd::rib::ReadvertiseDestination::afterAvailabilityChange |
signals when the destination becomes available or unavailable
Definition at line 65 of file readvertise-destination.hpp.
Referenced by setAvailability().