NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
nfd-manager-base.cpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26
#include "
nfd-manager-base.hpp
"
27
28
namespace
nfd
{
29
30
NfdManagerBase::NfdManagerBase
(
Dispatcher
& dispatcher,
31
CommandAuthenticator
& authenticator,
32
const
std::string& module)
33
:
ManagerBase
(dispatcher, module)
34
, m_authenticator(authenticator)
35
{
36
}
37
38
ndn::mgmt::Authorization
39
NfdManagerBase::makeAuthorization(
const
std::string& verb)
40
{
41
return
m_authenticator.
makeAuthorization
(this->
getModule
(), verb);
42
}
43
44
}
// namespace nfd
nfd::ManagerBase
a collection of common functions shared by all NFD managers and RIB manager, such as communicating wi...
Definition:
manager-base.hpp:48
ndn::mgmt::Dispatcher
represents a dispatcher on server side of NFD Management protocol
Definition:
dispatcher.hpp:129
nfd-manager-base.hpp
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:40
nfd::CommandAuthenticator::makeAuthorization
ndn::mgmt::Authorization makeAuthorization(const std::string &module, const std::string &verb)
Definition:
command-authenticator.cpp:208
nfd::CommandAuthenticator
provides ControlCommand authorization according to NFD configuration file
Definition:
command-authenticator.hpp:44
nfd::NfdManagerBase::NfdManagerBase
NfdManagerBase(Dispatcher &dispatcher, CommandAuthenticator &authenticator, const std::string &module)
Definition:
nfd-manager-base.cpp:30
nfd::ManagerBase::getModule
const std::string & getModule() const
Definition:
manager-base.hpp:68
ndn::mgmt::Authorization
std::function< void(const Name &prefix, const Interest &interest, const ControlParameters *params, const AcceptContinuation &accept, const RejectContinuation &reject)> Authorization
a function that performs authorization
Definition:
dispatcher.hpp:77
ndnSIM
NFD
daemon
mgmt
nfd-manager-base.cpp
Generated on Thu Nov 2 2017 03:30:29 for ndnSIM by
1.8.11