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
j
k
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Functions
a
b
c
d
e
f
g
h
i
j
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
_
a
c
e
i
r
s
t
v
+
Enumerator
a
c
d
e
f
i
k
l
m
n
p
r
s
u
v
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
o
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
a
d
e
f
i
l
m
n
o
p
r
s
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
strategy-choice-manager.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26
#ifndef NFD_DAEMON_MGMT_STRATEGY_CHOICE_MANAGER_HPP
27
#define NFD_DAEMON_MGMT_STRATEGY_CHOICE_MANAGER_HPP
28
29
#include "
nfd-manager-base.hpp
"
30
31
namespace
nfd
{
32
33
namespace
strategy_choice {
34
class
StrategyChoice
;
35
}
// namespace strategy_choice
36
41
class
StrategyChoiceManager
:
public
NfdManagerBase
42
{
43
public
:
44
StrategyChoiceManager
(
strategy_choice::StrategyChoice
& table,
45
Dispatcher
& dispatcher,
46
CommandAuthenticator
& authenticator);
47
48
private
:
49
void
50
setStrategy(
ControlParameters
parameters,
51
const
ndn::mgmt::CommandContinuation
& done);
52
53
void
54
unsetStrategy(
ControlParameters
parameters,
55
const
ndn::mgmt::CommandContinuation
& done);
56
57
void
58
listChoices(
ndn::mgmt::StatusDatasetContext
& context);
59
60
private
:
61
strategy_choice::StrategyChoice
& m_table;
62
};
63
64
}
// namespace nfd
65
66
#endif // NFD_DAEMON_MGMT_STRATEGY_CHOICE_MANAGER_HPP
nfd::StrategyChoiceManager::StrategyChoiceManager
StrategyChoiceManager(strategy_choice::StrategyChoice &table, Dispatcher &dispatcher, CommandAuthenticator &authenticator)
Definition:
strategy-choice-manager.cpp:37
ndn::nfd::ControlParameters
represents parameters in a ControlCommand request or response
Definition:
control-parameters.hpp:81
ndn::mgmt::Dispatcher
represents a dispatcher on server side of NFD Management protocol
Definition:
dispatcher.hpp:130
nfd::StrategyChoiceManager
implement the Strategy Choice Management of NFD Management Protocol.
Definition:
strategy-choice-manager.hpp:41
nfd-manager-base.hpp
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:40
ndn::mgmt::CommandContinuation
std::function< void(const ControlResponse &resp)> CommandContinuation
a function to be called after ControlCommandHandler completes
Definition:
dispatcher.hpp:95
nfd::CommandAuthenticator
Provides ControlCommand authorization according to NFD configuration file.
Definition:
command-authenticator.hpp:45
nfd::strategy_choice::StrategyChoice
represents the Strategy Choice table
Definition:
strategy-choice.hpp:51
ndn::mgmt::StatusDatasetContext
provides a context for generating response to a StatusDataset request
Definition:
status-dataset-context.hpp:36
nfd::NfdManagerBase
a collection of common functions shared by all NFD managers, such as communicating with the dispatche...
Definition:
nfd-manager-base.hpp:41
ndnSIM
NFD
daemon
mgmt
strategy-choice-manager.hpp
Generated on Sun Feb 24 2019 22:16:07 for ndnSIM by
1.8.15