NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: 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

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

Member Function Documentation

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

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

References setAvailability().

Referenced by setAvailability().

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

Member Data Documentation

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: