NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
nfd::ManagerBase Class Reference

a collection of common functions shared by all NFD managers, such as communicating with the dispatcher and command validator. More...

#include <manager-base.hpp>

Inheritance diagram for nfd::ManagerBase:
Collaboration diagram for nfd::ManagerBase:

Classes

class  Error
 

Public Member Functions

 ManagerBase (Dispatcher &dispatcher, CommandValidator &validator, const std::string &module)
 

Protected Types

typedef function< void(const ControlCommand &command, const Name &prefix, const Interest &interest, const ControlParameters &parameters, const ndn::mgmt::CommandContinuation done)> ControlCommandHandler
 

Protected Member Functions

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)
 

Detailed Description

a collection of common functions shared by all NFD managers, such as communicating with the dispatcher and command validator.

Definition at line 49 of file manager-base.hpp.

Member Typedef Documentation

§ ControlCommandHandler

typedef function<void(const ControlCommand& command, const Name& prefix, const Interest& interest, const ControlParameters& parameters, const ndn::mgmt::CommandContinuation done)> nfd::ManagerBase::ControlCommandHandler
protected

Definition at line 73 of file manager-base.hpp.

Constructor & Destructor Documentation

§ ManagerBase()

nfd::ManagerBase::ManagerBase ( Dispatcher dispatcher,
CommandValidator validator,
const std::string &  module 
)

Member Function Documentation

§ registerCommandHandler()

template<typename Command >
void nfd::ManagerBase::registerCommandHandler ( const std::string &  verb,
const ControlCommandHandler handler 
)
inlineprotected

Definition at line 166 of file manager-base.hpp.

§ registerStatusDatasetHandler()

void nfd::ManagerBase::registerStatusDatasetHandler ( const std::string &  verb,
const ndn::mgmt::StatusDatasetHandler handler 
)
protected

§ registerNotificationStream()


The documentation for this class was generated from the following files: