NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
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 
42 {
43 public:
45  Dispatcher& dispatcher,
46  CommandAuthenticator& authenticator);
47 
48 private:
49  void
50  setStrategy(const Name& topPrefix, const Interest& interest,
51  ControlParameters parameters,
52  const ndn::mgmt::CommandContinuation& done);
53 
54  void
55  unsetStrategy(const Name& topPrefix, const Interest& interest,
56  ControlParameters parameters,
57  const ndn::mgmt::CommandContinuation& done);
58 
59  void
60  listChoices(const Name& topPrefix, const Interest& interest,
62 
63 private:
65 };
66 
67 } // namespace nfd
68 
69 #endif // NFD_DAEMON_MGMT_STRATEGY_CHOICE_MANAGER_HPP
represents parameters in a ControlCommand request or response
represents a dispatcher on server side of NFD Management protocol
Definition: dispatcher.hpp:129
implement the Strategy Choice Management of NFD Management Protocol.
represents an Interest packet
Definition: interest.hpp:42
Copyright (c) 2011-2015 Regents of the University of California.
Definition: ndn-common.hpp:40
Name abstraction to represent an absolute name.
Definition: name.hpp:46
std::function< void(const ControlResponse &resp)> CommandContinuation
a function to be called after ControlCommandHandler completes
Definition: dispatcher.hpp:95
provides ControlCommand authorization according to NFD configuration file
represents the Strategy Choice table
provides a context for generating response to a StatusDataset request
a collection of common functions shared by all NFD managers, such as communicating with the dispatche...