#include <rib/rib-manager.hpp>
|
typedef function< void(const ControlCommand &command, const Name &prefix, const Interest &interest, const ControlParameters ¶meters, const ndn::mgmt::CommandContinuation done)> | ControlCommandHandler |
|
Definition at line 48 of file rib-manager.hpp.
typedef function<void(const ControlCommand& command, const Name& prefix, const Interest& interest, const ControlParameters& parameters, const ndn::mgmt::CommandContinuation done)> nfd::ManagerBase::ControlCommandHandler |
|
protectedinherited |
nfd::rib::RibManager::RibManager |
( |
Dispatcher & |
dispatcher, |
|
|
ndn::Face & |
face, |
|
|
ndn::KeyChain & |
keyChain |
|
) |
| |
nfd::rib::RibManager::~RibManager |
( |
| ) |
|
|
overridedefault |
void nfd::rib::RibManager::enableLocalFields |
( |
| ) |
|
void nfd::ManagerBase::extractRequester |
( |
const Interest & |
interest, |
|
|
ndn::mgmt::AcceptContinuation |
accept |
|
) |
| |
|
protectedinherited |
extract a requester from a ControlCommand request
This is called after the signature is validated.
- Parameters
-
interest | a request for ControlCommand |
accept | callback of successful validation, take the requester string as a argument |
Definition at line 57 of file manager-base.cpp.
const std::string& nfd::ManagerBase::getModule |
( |
| ) |
const |
|
inlineinherited |
void nfd::rib::RibManager::onRibUpdateFailure |
( |
const RibUpdate & |
update, |
|
|
uint32_t |
code, |
|
|
const std::string & |
error |
|
) |
| |
void nfd::rib::RibManager::onRibUpdateSuccess |
( |
const RibUpdate & |
update | ) |
|
template<typename Command >
void nfd::ManagerBase::registerCommandHandler |
( |
const std::string & |
verb, |
|
|
const ControlCommandHandler & |
handler |
|
) |
| |
|
inlineprotectedinherited |
ndn::mgmt::PostNotification nfd::ManagerBase::registerNotificationStream |
( |
const std::string & |
verb | ) |
|
|
protectedinherited |
void nfd::ManagerBase::registerStatusDatasetHandler |
( |
const std::string & |
verb, |
|
|
const ndn::mgmt::StatusDatasetHandler & |
handler |
|
) |
| |
|
protectedinherited |
void nfd::rib::RibManager::registerWithNfd |
( |
| ) |
|
void nfd::rib::RibManager::setConfigFile |
( |
ConfigFile & |
configFile | ) |
|