NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
nfd::rib::NfdRibReadvertiseDestination Class Reference

a readvertise destination using NFD RIB management protocol More...

#include <nfd-rib-readvertise-destination.hpp>

Inheritance diagram for nfd::rib::NfdRibReadvertiseDestination:
Collaboration diagram for nfd::rib::NfdRibReadvertiseDestination:

Public Member Functions

 NfdRibReadvertiseDestination (ndn::nfd::Controller &controller, const Name &commandPrefix, Rib &rib)
 
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...
 
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...
 
- Public Member Functions inherited from nfd::rib::ReadvertiseDestination
virtual ~ReadvertiseDestination ()=default
 
bool isAvailable () const
 

Additional Inherited Members

- Public Attributes inherited from nfd::rib::ReadvertiseDestination
signal::Signal< ReadvertiseDestination, bool > afterAvailabilityChange
 signals when the destination becomes available or unavailable More...
 
- Protected Member Functions inherited from nfd::rib::ReadvertiseDestination
void setAvailability (bool isAvailable)
 

Detailed Description

a readvertise destination using NFD RIB management protocol

Definition at line 39 of file nfd-rib-readvertise-destination.hpp.

Constructor & Destructor Documentation

nfd::rib::NfdRibReadvertiseDestination::NfdRibReadvertiseDestination ( ndn::nfd::Controller controller,
const Name commandPrefix,
Rib rib 
)

Member Function Documentation

void nfd::rib::NfdRibReadvertiseDestination::advertise ( const ReadvertisedRoute rr,
std::function< void()>  successCb,
std::function< void(const std::string &)>  failureCb 
)
overridevirtual
void nfd::rib::NfdRibReadvertiseDestination::withdraw ( const ReadvertisedRoute rr,
std::function< void()>  successCb,
std::function< void(const std::string &)>  failureCb 
)
overridevirtual

The documentation for this class was generated from the following files: