Implements the CS Management of NFD Management Protocol.
More...
#include <daemon/mgmt/cs-manager.hpp>
|
using | ControlCommandHandler = std::function< void(const ControlCommand &command, const Name &prefix, const Interest &interest, const ControlParameters ¶meters, const ndn::mgmt::CommandContinuation done)> |
|
Implements the CS Management of NFD Management Protocol.
- See also
- https://redmine.named-data.net/projects/nfd/wiki/CsMgmt
Definition at line 43 of file cs-manager.hpp.
◆ ControlCommandHandler
using nfd::ManagerBase::ControlCommandHandler = std::function<void(const ControlCommand& command, const Name& prefix, const Interest& interest, const ControlParameters& parameters, const ndn::mgmt::CommandContinuation done)> |
|
protectedinherited |
◆ CsManager()
◆ extractRequester()
void nfd::ManagerBase::extractRequester |
( |
const Interest & |
interest, |
|
|
ndn::mgmt::AcceptContinuation |
accept |
|
) |
| |
|
protectedinherited |
Extracts the requester from a ControlCommand request.
This is called after the signature has been validated.
- Parameters
-
interest | a request for ControlCommand |
accept | callback of successful validation, takes the requester string as a argument |
Definition at line 62 of file manager-base.cpp.
◆ getModule()
const std::string& nfd::ManagerBase::getModule |
( |
| ) |
const |
|
inlineinherited |
◆ registerCommandHandler()
template<typename Command >
void nfd::ManagerBase::registerCommandHandler |
( |
const std::string & |
verb, |
|
|
const ControlCommandHandler & |
handler |
|
) |
| |
|
inlineprotectedinherited |
◆ registerNotificationStream()
ndn::mgmt::PostNotification nfd::ManagerBase::registerNotificationStream |
( |
const std::string & |
verb | ) |
|
|
protectedinherited |
◆ registerStatusDatasetHandler()
void nfd::ManagerBase::registerStatusDatasetHandler |
( |
const std::string & |
verb, |
|
|
const ndn::mgmt::StatusDatasetHandler & |
handler |
|
) |
| |
|
protectedinherited |
◆ ERASE_LIMIT
constexpr size_t nfd::CsManager::ERASE_LIMIT = 256 |
|
static |