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

a destination to readvertise into More...

#include <readvertise-destination.hpp>

Inheritance diagram for nfd::rib::ReadvertiseDestination:
Collaboration diagram for nfd::rib::ReadvertiseDestination:

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)
 

Detailed Description

a destination to readvertise into

Definition at line 36 of file readvertise-destination.hpp.

Constructor & Destructor Documentation

◆ ~ReadvertiseDestination()

virtual nfd::rib::ReadvertiseDestination::~ReadvertiseDestination ( )
virtualdefault

Member Function Documentation

◆ advertise()

virtual void nfd::rib::ReadvertiseDestination::advertise ( const ReadvertisedRoute rr,
std::function< void()>  successCb,
std::function< void(const std::string &)>  failureCb 
)
pure virtual

◆ withdraw()

virtual void nfd::rib::ReadvertiseDestination::withdraw ( const ReadvertisedRoute rr,
std::function< void()>  successCb,
std::function< void(const std::string &)>  failureCb 
)
pure virtual

◆ isAvailable()

bool nfd::rib::ReadvertiseDestination::isAvailable ( ) const
inline

Definition at line 53 of file readvertise-destination.hpp.

References setAvailability().

Referenced by setAvailability().

◆ setAvailability()

void nfd::rib::ReadvertiseDestination::setAvailability ( bool  isAvailable)
protected

Member Data Documentation

◆ afterAvailabilityChange

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().


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