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... | |
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.
|
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.
Referenced by Install(), and InstallAll().
|
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().
|
static |
Install a built-in strategy strategy
on all nodes for namePrefix
namespace.
Definition at line 68 of file ndn-strategy-choice-helper.cpp.
References Install().
|
inlinestatic |
Install a custom strategy on node
for namePrefix
namespace.
Strategy | Class name of the custom strategy |
Definition at line 113 of file ndn-strategy-choice-helper.hpp.
References nfd::StrategyChoice::hasStrategy(), and nfd::StrategyChoice::install().
|
inlinestatic |
Install a custom strategy on nodes in c
container for namePrefix
namespace.
Strategy | Class name of the custom strategy |
Definition at line 131 of file ndn-strategy-choice-helper.hpp.
|
inlinestatic |
Install a custom strategy on all nodes for namePrefix
namespace.
Strategy | Class name of the custom strategy |
Definition at line 140 of file ndn-strategy-choice-helper.hpp.