a collection of common functions shared by all NFD managers, such as communicating with the dispatcher and command validator. More...
#include <nfd-manager-base.hpp>
Public Member Functions | |
NfdManagerBase (Dispatcher &dispatcher, CommandAuthenticator &authenticator, const std::string &module) | |
Public Member Functions inherited from nfd::ManagerBase | |
ManagerBase (Dispatcher &dispatcher, const std::string &module) | |
virtual | ~ManagerBase () |
const std::string & | getModule () const |
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) |
void | extractRequester (const Interest &interest, ndn::mgmt::AcceptContinuation accept) |
extract a requester from a ControlCommand request More... | |
a collection of common functions shared by all NFD managers, such as communicating with the dispatcher and command validator.
Definition at line 41 of file nfd-manager-base.hpp.
nfd::NfdManagerBase::NfdManagerBase | ( | Dispatcher & | dispatcher, |
CommandAuthenticator & | authenticator, | ||
const std::string & | module | ||
) |
Definition at line 30 of file nfd-manager-base.cpp.
References nfd::ManagerBase::getModule(), and nfd::CommandAuthenticator::makeAuthorization().