NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
nfd-manager-base.hpp
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26 #ifndef NFD_DAEMON_MGMT_NFD_MANAGER_BASE_HPP
27 #define NFD_DAEMON_MGMT_NFD_MANAGER_BASE_HPP
28 
29 #include "core/manager-base.hpp"
31 
32 namespace nfd {
33 
36 
42 {
43 public:
44  NfdManagerBase(Dispatcher& dispatcher,
45  CommandAuthenticator& authenticator,
46  const std::string& module);
47 
48 PUBLIC_WITH_TESTS_ELSE_PRIVATE: // command validation
50  makeAuthorization(const std::string& verb) override;
51 
52 private:
53  CommandAuthenticator& m_authenticator;
54 };
55 
56 } // namespace nfd
57 
58 #endif // NFD_DAEMON_MGMT_NFD_MANAGER_BASE_HPP
#define PUBLIC_WITH_TESTS_ELSE_PRIVATE
Definition: common.hpp:40
a collection of common functions shared by all NFD managers and RIB manager, such as communicating wi...
represents a dispatcher on server side of NFD Management protocol
Definition: dispatcher.hpp:129
ndn mgmt Dispatcher
Copyright (c) 2013-2017 Regents of the University of California.
Definition: dispatcher.cpp:26
Copyright (c) 2011-2015 Regents of the University of California.
Definition: ndn-common.hpp:40
provides ControlCommand authorization according to NFD configuration file
NfdManagerBase(Dispatcher &dispatcher, CommandAuthenticator &authenticator, const std::string &module)
a collection of common functions shared by all NFD managers, such as communicating with the dispatche...
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