Implements the Strategy Choice Management of NFD Management Protocol. More...
#include <strategy-choice-manager.hpp>
Public Member Functions | |
StrategyChoiceManager (strategy_choice::StrategyChoice &table, Dispatcher &dispatcher, CommandAuthenticator &authenticator) | |
Public Member Functions inherited from nfd::ManagerBase | |
virtual | ~ManagerBase () |
const std::string & | getModule () const |
Additional Inherited Members | |
Protected Member Functions inherited from nfd::ManagerBase | |
ManagerBase (const std::string &module, Dispatcher &dispatcher) | |
ManagerBase (const std::string &module, Dispatcher &dispatcher, CommandAuthenticator &authenticator) | |
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) |
PartialName | makeRelPrefix (const std::string &verb) |
Generates the relative prefix for a handler by appending the verb name to the module name. More... | |
Static Protected Member Functions inherited from nfd::ManagerBase | |
static bool | validateParameters (const ControlCommand &command, const ndn::mgmt::ControlParameters ¶meters) |
Validates the parameters for a given command . More... | |
static void | handleCommand (shared_ptr< ControlCommand > command, const ControlCommandHandler &handler, const Name &prefix, const Interest &interest, const ndn::mgmt::ControlParameters ¶ms, const ndn::mgmt::CommandContinuation &done) |
Handles a control command. More... | |
Protected Attributes inherited from nfd::ManagerBase | |
NFD_PUBLIC_WITH_TESTS_ELSE_PROTECTED | __pad0__: using ControlCommandHandler = std::function<void(const ControlCommand& command |
NFD_PUBLIC_WITH_TESTS_ELSE_PROTECTED const Name & | prefix |
NFD_PUBLIC_WITH_TESTS_ELSE_PROTECTED const Name const Interest & | interest |
NFD_PUBLIC_WITH_TESTS_ELSE_PROTECTED const Name const Interest const ControlParameters & | parameters |
NFD_PUBLIC_WITH_TESTS_ELSE_PROTECTED const Name const Interest const ControlParameters const ndn::mgmt::CommandContinuation | done |
NFD_PUBLIC_WITH_TESTS_ELSE_PROTECTED | __pad1__: static void extractRequester(const Interest& interest |
NFD_PUBLIC_WITH_TESTS_ELSE_PROTECTED const ndn::mgmt::AcceptContinuation & | accept |
NFD_PUBLIC_WITH_TESTS_ELSE_PRIVATE | __pad2__: virtual ndn::mgmt::Authorization makeAuthorization(const std::string& verb) |
Implements the Strategy Choice Management of NFD Management Protocol.
Definition at line 41 of file strategy-choice-manager.hpp.
nfd::StrategyChoiceManager::StrategyChoiceManager | ( | strategy_choice::StrategyChoice & | table, |
Dispatcher & | dispatcher, | ||
CommandAuthenticator & | authenticator | ||
) |
Definition at line 37 of file strategy-choice-manager.cpp.