Implements the Face Management of NFD Management Protocol. More...
#include <face-manager.hpp>
Public Member Functions | |
FaceManager (FaceSystem &faceSystem, Dispatcher &dispatcher, CommandAuthenticator &authenticator) | |
Public Member Functions inherited from nfd::ManagerBase | |
virtual | ~ManagerBase () |
const std::string & | getModule () const |
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 Face Management of NFD Management Protocol.
Definition at line 39 of file face-manager.hpp.
nfd::FaceManager::FaceManager | ( | FaceSystem & | faceSystem, |
Dispatcher & | dispatcher, | ||
CommandAuthenticator & | authenticator | ||
) |
Definition at line 43 of file face-manager.cpp.
References nfd::FaceTable::afterAdd, nfd::FaceTable::beforeRemove, ndn::nfd::FACE_EVENT_CREATED, ndn::nfd::FACE_EVENT_DESTROYED, nfd::ManagerBase::registerNotificationStream(), and nfd::ManagerBase::registerStatusDatasetHandler().