implement the Strategy Choice Management of NFD Management Protocol. More...
#include <strategy-choice-manager.hpp>
Public Member Functions | |
StrategyChoiceManager (StrategyChoice &strategyChoice, Dispatcher &dispatcher, CommandValidator &validator) | |
Public Member Functions inherited from nfd::ManagerBase | |
ManagerBase (Dispatcher &dispatcher, CommandValidator &validator, const std::string &module) | |
Additional Inherited Members | |
Protected Types inherited from nfd::ManagerBase | |
typedef function< void(const ControlCommand &command, const Name &prefix, const Interest &interest, const ControlParameters ¶meters, const ndn::mgmt::CommandContinuation done)> | ControlCommandHandler |
Protected Member Functions inherited from nfd::ManagerBase | |
template<typename Command > | |
void | registerCommandHandler (const std::string &verb, const ControlCommandHandler &handler) |
void | registerStatusDatasetHandler (const std::string &verb, const ndn::mgmt::StatusDatasetHandler &handler) |
ndn::mgmt::PostNotification | registerNotificationStream (const std::string &verb) |
implement the Strategy Choice Management of NFD Management Protocol.
Definition at line 39 of file strategy-choice-manager.hpp.
nfd::StrategyChoiceManager::StrategyChoiceManager | ( | StrategyChoice & | strategyChoice, |
Dispatcher & | dispatcher, | ||
CommandValidator & | validator | ||
) |
Definition at line 34 of file strategy-choice-manager.cpp.
References ndn::mgmt::StatusDatasetContext::append(), ndn::mgmt::StatusDatasetContext::end(), nfd::StrategyChoice::erase(), nfd::StrategyChoice::get(), ndn::nfd::ControlParameters::getName(), ndn::nfd::ControlParameters::getStrategy(), nfd::StrategyChoice::hasStrategy(), nfd::StrategyChoice::insert(), NFD_LOG_DEBUG, nfd::ManagerBase::registerStatusDatasetHandler(), ndn::nfd::StrategyChoice::setName(), ndn::nfd::ControlParameters::setStrategy(), ndn::nfd::StrategyChoice::wireEncode(), and ndn::nfd::ControlParameters::wireEncode().