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

a policy to readvertise routes registered by local applications into remote gateway More...

#include <host-to-gateway-readvertise-policy.hpp>

Inheritance diagram for nfd::rib::HostToGatewayReadvertisePolicy:
Collaboration diagram for nfd::rib::HostToGatewayReadvertisePolicy:

Public Member Functions

 HostToGatewayReadvertisePolicy (const ndn::KeyChain &keyChain, const ConfigSection &section)
 
optional< ReadvertiseActionhandleNewRoute (const RibRouteRef &ribRoute) const override
 decide whether to readvertise a route, and what prefix to readvertise More...
 
time::milliseconds getRefreshInterval () const override
 
- Public Member Functions inherited from nfd::rib::ReadvertisePolicy
virtual ~ReadvertisePolicy ()=default
 

Detailed Description

a policy to readvertise routes registered by local applications into remote gateway

Definition at line 39 of file host-to-gateway-readvertise-policy.hpp.

Constructor & Destructor Documentation

◆ HostToGatewayReadvertisePolicy()

nfd::rib::HostToGatewayReadvertisePolicy::HostToGatewayReadvertisePolicy ( const ndn::KeyChain &  keyChain,
const ConfigSection section 
)

Member Function Documentation

◆ handleNewRoute()

optional< ReadvertiseAction > nfd::rib::HostToGatewayReadvertisePolicy::handleNewRoute ( const RibRouteRef ribRoute) const
overridevirtual

◆ getRefreshInterval()

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

Implements nfd::rib::ReadvertisePolicy.

Definition at line 85 of file host-to-gateway-readvertise-policy.cpp.


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