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

a policy to decide whether to readvertise a route, and what prefix to readvertise More...

#include <readvertise-policy.hpp>

Inheritance diagram for nfd::rib::ReadvertisePolicy:
Collaboration diagram for nfd::rib::ReadvertisePolicy:

Public Member Functions

virtual ~ReadvertisePolicy ()=default
 
virtual ndn::optional< ReadvertiseActionhandleNewRoute (const RibRouteRef &ribRoute) const =0
 decide whether to readvertise a route, and what prefix to readvertise More...
 
virtual time::milliseconds getRefreshInterval () const =0
 

Detailed Description

a policy to decide whether to readvertise a route, and what prefix to readvertise

Definition at line 45 of file readvertise-policy.hpp.

Constructor & Destructor Documentation

◆ ~ReadvertisePolicy()

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

Member Function Documentation

◆ handleNewRoute()

virtual ndn::optional<ReadvertiseAction> nfd::rib::ReadvertisePolicy::handleNewRoute ( const RibRouteRef ribRoute) const
pure virtual

decide whether to readvertise a route, and what prefix to readvertise

Implemented in nfd::rib::ClientToNlsrReadvertisePolicy.

◆ getRefreshInterval()

virtual time::milliseconds nfd::rib::ReadvertisePolicy::getRefreshInterval ( ) const
pure virtual
Returns
how often readvertisements made by this policy should be refreshed.

Implemented in nfd::rib::ClientToNlsrReadvertisePolicy.


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