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

NFD Strategy Choice Helper (FIB) helper. More...

#include <ndn-strategy-choice-helper.hpp>

Static Public Member Functions

static void Install (Ptr< Node > node, const Name &namePrefix, const Name &strategy)
 Install a built-in strategy strategy on node for namePrefix namespace. More...
 
static void Install (const NodeContainer &c, const Name &namePrefix, const Name &strategy)
 Install a built-in strategy strategy on nodes in c container for namePrefix namespace. More...
 
static void InstallAll (const Name &namePrefix, const Name &strategy)
 Install a built-in strategy strategy on all nodes for namePrefix namespace. More...
 
template<class Strategy >
static void Install (Ptr< Node > node, const Name &namePrefix)
 Install a custom strategy on node for namePrefix namespace. More...
 
template<class Strategy >
static void Install (const NodeContainer &c, const Name &namePrefix)
 Install a custom strategy on nodes in c container for namePrefix namespace. More...
 
template<class Strategy >
static void InstallAll (const Name &namePrefix)
 Install a custom strategy on all nodes for namePrefix namespace. More...
 

Detailed Description

NFD Strategy Choice Helper (FIB) helper.

The Strategy Choice helper interacts with the Strategy Choice manager of NFD by sending special Interest commands to the manager in order to specify the desired per-name prefix forwarding strategy for one, more or all the nodes of a topology.

Definition at line 60 of file ndn-strategy-choice-helper.hpp.

Member Function Documentation

◆ Install() [1/4]

void ns3::ndn::StrategyChoiceHelper::Install ( Ptr< Node node,
const Name namePrefix,
const Name strategy 
)
static

Install a built-in strategy strategy on node for namePrefix namespace.

Definition at line 58 of file ndn-strategy-choice-helper.cpp.

References ndn::tlv::nfd::ControlParameters, and ns3::ndn::StackHelper::ProcessWarmupEvents().

Referenced by Install(), and InstallAll().

◆ Install() [2/4]

void ns3::ndn::StrategyChoiceHelper::Install ( const NodeContainer &  c,
const Name namePrefix,
const Name strategy 
)
static

Install a built-in strategy strategy on nodes in c container for namePrefix namespace.

Definition at line 50 of file ndn-strategy-choice-helper.cpp.

References Install().

◆ InstallAll() [1/2]

void ns3::ndn::StrategyChoiceHelper::InstallAll ( const Name namePrefix,
const Name strategy 
)
static

Install a built-in strategy strategy on all nodes for namePrefix namespace.

Definition at line 71 of file ndn-strategy-choice-helper.cpp.

References Install().

◆ Install() [3/4]

template<class Strategy >
void ns3::ndn::StrategyChoiceHelper::Install ( Ptr< Node node,
const Name namePrefix 
)
inlinestatic

Install a custom strategy on node for namePrefix namespace.

Template Parameters
StrategyClass name of the custom strategy

Definition at line 113 of file ndn-strategy-choice-helper.hpp.

◆ Install() [4/4]

template<class Strategy >
void ns3::ndn::StrategyChoiceHelper::Install ( const NodeContainer &  c,
const Name namePrefix 
)
inlinestatic

Install a custom strategy on nodes in c container for namePrefix namespace.

Template Parameters
StrategyClass name of the custom strategy

Definition at line 128 of file ndn-strategy-choice-helper.hpp.

◆ InstallAll() [2/2]

template<class Strategy >
void ns3::ndn::StrategyChoiceHelper::InstallAll ( const Name namePrefix)
inlinestatic

Install a custom strategy on all nodes for namePrefix namespace.

Template Parameters
StrategyClass name of the custom strategy

Definition at line 137 of file ndn-strategy-choice-helper.hpp.


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