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(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:
62 };
63 
64 } // namespace nfd
65 
66 #endif // NFD_DAEMON_MGMT_STRATEGY_CHOICE_MANAGER_HPP
represents the Strategy Choice table
provides ControlCommand authorization according to NFD configuration file
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
Definition: algorithm.hpp:32
a collection of common functions shared by all NFD managers, such as communicating with the dispatche...
implement the Strategy Choice Management of NFD Management Protocol.