NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
nfd::CsManager Class Referencefinal

Implements the CS Management of NFD Management Protocol. More...

#include <cs-manager.hpp>

Inheritance diagram for nfd::CsManager:
Collaboration diagram for nfd::CsManager:

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 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)
 
PartialName makeRelPrefix (const std::string &verb)
 Generates the relative prefix for a handler by appending the verb name to the module name. More...
 
- Static Protected Member Functions inherited from nfd::ManagerBase
static bool validateParameters (const ControlCommand &command, const ndn::mgmt::ControlParameters &parameters)
 Validates the parameters for a given command. More...
 
static void handleCommand (shared_ptr< ControlCommand > command, const ControlCommandHandler &handler, const Name &prefix, const Interest &interest, const ndn::mgmt::ControlParameters &params, const ndn::mgmt::CommandContinuation &done)
 Handles a control command. More...
 
- Protected Attributes inherited from nfd::ManagerBase
NFD_PUBLIC_WITH_TESTS_ELSE_PROTECTED __pad0__: using ControlCommandHandler = std::function<void(const ControlCommand& command
 
NFD_PUBLIC_WITH_TESTS_ELSE_PROTECTED const Nameprefix
 
NFD_PUBLIC_WITH_TESTS_ELSE_PROTECTED const Name const Interestinterest
 
NFD_PUBLIC_WITH_TESTS_ELSE_PROTECTED const Name const Interest const ControlParametersparameters
 
NFD_PUBLIC_WITH_TESTS_ELSE_PROTECTED const Name const Interest const ControlParameters const ndn::mgmt::CommandContinuation done
 
NFD_PUBLIC_WITH_TESTS_ELSE_PROTECTED __pad1__: static void extractRequester(const Interest& interest
 
NFD_PUBLIC_WITH_TESTS_ELSE_PROTECTED const ndn::mgmt::AcceptContinuationaccept
 
NFD_PUBLIC_WITH_TESTS_ELSE_PRIVATE __pad2__: virtual ndn::mgmt::Authorization makeAuthorization(const std::string& verb)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ CsManager()

nfd::CsManager::CsManager ( cs::Cs cs,
const ForwarderCounters fwCounters,
Dispatcher dispatcher,
CommandAuthenticator authenticator 
)

Member Data Documentation

◆ ERASE_LIMIT

constexpr size_t nfd::CsManager::ERASE_LIMIT = 256
static

Definition at line 69 of file cs-manager.hpp.

Referenced by CsManager().


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