Implements the CS Management of NFD Management Protocol. More...
#include <cs-manager.hpp>
Public Member Functions | |
CsManager (cs::Cs &cs, const ForwarderCounters &fwCounters, Dispatcher &dispatcher, CommandAuthenticator &authenticator) | |
Public Member Functions inherited from nfd::ManagerBase | |
virtual | ~ManagerBase () |
const std::string & | getModule () const |
Static Public Attributes | |
static constexpr size_t | ERASE_LIMIT = 256 |
Additional Inherited Members | |
Protected Types inherited from nfd::ManagerBase | |
using | ControlCommandHandler = std::function< void(const ControlCommand &command, const Name &prefix, const Interest &interest, const ControlParameters ¶meters, const ndn::mgmt::CommandContinuation done)> |
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) |
void | extractRequester (const Interest &interest, ndn::mgmt::AcceptContinuation accept) |
Extracts the requester from a ControlCommand request. More... | |
Implements the CS Management of NFD Management Protocol.
Definition at line 43 of file cs-manager.hpp.
nfd::CsManager::CsManager | ( | cs::Cs & | cs, |
const ForwarderCounters & | fwCounters, | ||
Dispatcher & | dispatcher, | ||
CommandAuthenticator & | authenticator | ||
) |
Definition at line 36 of file cs-manager.cpp.
References nfd::ManagerBase::registerStatusDatasetHandler().
|
staticconstexpr |
Definition at line 69 of file cs-manager.hpp.