A readvertise destination using NFD RIB management protocol.
More...
#include <daemon/rib/readvertise/nfd-rib-readvertise-destination.hpp>
|
| NfdRibReadvertiseDestination (ndn::nfd::Controller &controller, Rib &rib, const ndn::nfd::CommandOptions &options=ndn::nfd::CommandOptions(), const ndn::nfd::ControlParameters ¶meters=ndn::nfd::ControlParameters().setOrigin(ndn::nfd::ROUTE_ORIGIN_CLIENT)) |
|
void | advertise (const ReadvertisedRoute &rr, std::function< void()> successCb, std::function< void(const std::string &)> failureCb) override |
| Add a name prefix into NFD RIB. More...
|
|
bool | isAvailable () const |
|
void | withdraw (const ReadvertisedRoute &rr, std::function< void()> successCb, std::function< void(const std::string &)> failureCb) override |
| Remove a name prefix from NFD RIB. More...
|
|
A readvertise destination using NFD RIB management protocol.
Definition at line 40 of file nfd-rib-readvertise-destination.hpp.
◆ NfdRibReadvertiseDestination()
nfd::rib::NfdRibReadvertiseDestination::NfdRibReadvertiseDestination |
( |
ndn::nfd::Controller & |
controller, |
|
|
Rib & |
rib, |
|
|
const ndn::nfd::CommandOptions & |
options = ndn::nfd::CommandOptions() , |
|
|
const ndn::nfd::ControlParameters & |
parameters = ndn::nfd::ControlParameters().setOrigin(ndn::nfd::ROUTE_ORIGIN_CLIENT) |
|
) |
| |
◆ advertise()
void nfd::rib::NfdRibReadvertiseDestination::advertise |
( |
const ReadvertisedRoute & |
rr, |
|
|
std::function< void()> |
successCb, |
|
|
std::function< void(const std::string &)> |
failureCb |
|
) |
| |
|
overridevirtual |
◆ getCommandOptions()
ndn::nfd::CommandOptions nfd::rib::NfdRibReadvertiseDestination::getCommandOptions |
( |
| ) |
const |
|
inlineprotected |
◆ getControlParameters()
ndn::nfd::ControlParameters nfd::rib::NfdRibReadvertiseDestination::getControlParameters |
( |
| ) |
const |
|
inlineprotected |
◆ isAvailable()
bool nfd::rib::ReadvertiseDestination::isAvailable |
( |
| ) |
const |
|
inlineinherited |
◆ setAvailability()
void nfd::rib::ReadvertiseDestination::setAvailability |
( |
bool |
isAvailable | ) |
|
|
protectedinherited |
◆ withdraw()
void nfd::rib::NfdRibReadvertiseDestination::withdraw |
( |
const ReadvertisedRoute & |
rr, |
|
|
std::function< void()> |
successCb, |
|
|
std::function< void(const std::string &)> |
failureCb |
|
) |
| |
|
overridevirtual |
◆ afterAvailabilityChange