nfd::Forwarder Class Reference

Main class of NFD's forwarding engine. More...

#include <daemon/fw/forwarder.hpp>

Public Member Functions

 Forwarder (FaceTable &faceTable)
 
const ForwarderCountersgetCounters () const noexcept
 
CsgetCs () noexcept
 
DeadNonceListgetDeadNonceList () noexcept
 
FibgetFib () noexcept
 
MeasurementsgetMeasurements () noexcept
 
NameTreegetNameTree () noexcept
 
NetworkRegionTablegetNetworkRegionTable () noexcept
 
PitgetPit () noexcept
 
StrategyChoicegetStrategyChoice () noexcept
 
fw::UnsolicitedDataPolicygetUnsolicitedDataPolicy () const noexcept
 
void setConfigFile (ConfigFile &configFile)
 Register handler for forwarder section of NFD configuration file. More...
 
void setUnsolicitedDataPolicy (unique_ptr< fw::UnsolicitedDataPolicy > policy) noexcept
 

Detailed Description

Main class of NFD's forwarding engine.

The Forwarder class owns all tables and implements the forwarding pipelines.

Definition at line 53 of file forwarder.hpp.

Constructor & Destructor Documentation

◆ Forwarder()

nfd::Forwarder::Forwarder ( FaceTable faceTable)
explicit

Definition at line 51 of file forwarder.cpp.

Member Function Documentation

◆ getCounters()

const ForwarderCounters& nfd::Forwarder::getCounters ( ) const
inlinenoexcept

Definition at line 65 of file forwarder.hpp.

◆ getCs()

Cs& nfd::Forwarder::getCs ( )
inlinenoexcept

Definition at line 102 of file forwarder.hpp.

◆ getDeadNonceList()

DeadNonceList& nfd::Forwarder::getDeadNonceList ( )
inlinenoexcept

Definition at line 120 of file forwarder.hpp.

◆ getFib()

Fib& nfd::Forwarder::getFib ( )
inlinenoexcept

Definition at line 90 of file forwarder.hpp.

◆ getMeasurements()

Measurements& nfd::Forwarder::getMeasurements ( )
inlinenoexcept

Definition at line 108 of file forwarder.hpp.

◆ getNameTree()

NameTree& nfd::Forwarder::getNameTree ( )
inlinenoexcept

Definition at line 84 of file forwarder.hpp.

◆ getNetworkRegionTable()

NetworkRegionTable& nfd::Forwarder::getNetworkRegionTable ( )
inlinenoexcept

Definition at line 126 of file forwarder.hpp.

◆ getPit()

Pit& nfd::Forwarder::getPit ( )
inlinenoexcept

Definition at line 96 of file forwarder.hpp.

◆ getStrategyChoice()

StrategyChoice& nfd::Forwarder::getStrategyChoice ( )
inlinenoexcept

Definition at line 114 of file forwarder.hpp.

◆ getUnsolicitedDataPolicy()

fw::UnsolicitedDataPolicy& nfd::Forwarder::getUnsolicitedDataPolicy ( ) const
inlinenoexcept

Definition at line 71 of file forwarder.hpp.

◆ setConfigFile()

void nfd::Forwarder::setConfigFile ( ConfigFile configFile)

Register handler for forwarder section of NFD configuration file.

Definition at line 602 of file forwarder.cpp.

◆ setUnsolicitedDataPolicy()

void nfd::Forwarder::setUnsolicitedDataPolicy ( unique_ptr< fw::UnsolicitedDataPolicy policy)
inlinenoexcept

Definition at line 77 of file forwarder.hpp.