NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
p
q
r
s
t
u
v
w
+
Typedefs
a
b
c
d
e
f
h
i
k
l
n
o
p
q
r
s
t
u
v
+
Enumerations
a
b
c
d
f
i
k
l
n
p
q
r
s
t
u
+
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
~
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Enumerations
+
Enumerator
a
c
d
e
i
k
l
m
n
p
r
s
u
w
+
Related Functions
b
c
d
e
f
g
i
k
l
m
n
o
p
s
v
+
Files
File List
+
File Members
+
All
a
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
u
v
w
+
Functions
c
f
h
m
r
s
u
w
+
Variables
a
c
d
f
g
i
k
l
m
n
p
r
s
t
Typedefs
+
Macros
d
e
f
i
l
m
n
p
r
s
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
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
"
30
#include "
command-authenticator.hpp
"
31
32
namespace
nfd
{
33
34
using
ndn::mgmt::Dispatcher
;
35
using
ndn::nfd::ControlParameters
;
36
41
class
NfdManagerBase
:
public
ManagerBase
42
{
43
public
:
44
NfdManagerBase
(
Dispatcher
& dispatcher,
45
CommandAuthenticator
& authenticator,
46
const
std::string& module);
47
48
PUBLIC_WITH_TESTS_ELSE_PRIVATE
:
// command validation
49
virtual
ndn::mgmt::Authorization
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
PUBLIC_WITH_TESTS_ELSE_PRIVATE
#define PUBLIC_WITH_TESTS_ELSE_PRIVATE
Definition:
common.hpp:40
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:130
manager-base.hpp
Dispatcher
ndn mgmt Dispatcher
Definition:
dispatcher.cpp:26
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:40
command-authenticator.hpp
nfd::CommandAuthenticator
provides ControlCommand authorization according to NFD configuration file
Definition:
command-authenticator.hpp:44
ndn::tlv::nfd::ControlParameters
Definition:
tlv-nfd.hpp:35
nfd::NfdManagerBase::NfdManagerBase
NfdManagerBase(Dispatcher &dispatcher, CommandAuthenticator &authenticator, const std::string &module)
Definition:
nfd-manager-base.cpp:30
nfd::NfdManagerBase
a collection of common functions shared by all NFD managers, such as communicating with the dispatche...
Definition:
nfd-manager-base.hpp:41
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.hpp
Generated on Tue Aug 7 2018 16:19:18 for ndnSIM by
1.8.14