Steve DiBenedetto | 042bfe9 | 2014-01-30 15:05:08 -0700 | [diff] [blame] | 1 | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
| 2 | /** |
| 3 | * Copyright (C) 2014 Named Data Networking Project |
| 4 | * See COPYING for copyright and distribution information. |
| 5 | */ |
| 6 | |
| 7 | #ifndef NFD_MGMT_MANAGER_BASE_HPP |
| 8 | #define NFD_MGMT_MANAGER_BASE_HPP |
| 9 | |
| 10 | #include "common.hpp" |
Steve DiBenedetto | 43cd037 | 2014-02-01 17:05:07 -0700 | [diff] [blame] | 11 | #include <ndn-cpp-dev/security/key-chain.hpp> |
Steve DiBenedetto | 042bfe9 | 2014-01-30 15:05:08 -0700 | [diff] [blame] | 12 | |
| 13 | namespace nfd { |
| 14 | |
| 15 | class AppFace; |
| 16 | |
| 17 | class ManagerBase |
| 18 | { |
| 19 | public: |
| 20 | ManagerBase(shared_ptr<AppFace> face); |
| 21 | |
| 22 | virtual |
| 23 | ~ManagerBase(); |
| 24 | |
| 25 | protected: |
| 26 | |
Steve DiBenedetto | 3970c89 | 2014-01-31 23:31:13 -0700 | [diff] [blame] | 27 | void |
Steve DiBenedetto | 042bfe9 | 2014-01-30 15:05:08 -0700 | [diff] [blame] | 28 | sendResponse(const Name& name, |
| 29 | uint32_t code, |
| 30 | const std::string& text); |
| 31 | |
| 32 | protected: |
| 33 | shared_ptr<AppFace> m_face; |
Steve DiBenedetto | 43cd037 | 2014-02-01 17:05:07 -0700 | [diff] [blame] | 34 | ndn::KeyChain m_keyChain; |
Steve DiBenedetto | 042bfe9 | 2014-01-30 15:05:08 -0700 | [diff] [blame] | 35 | }; |
| 36 | |
| 37 | |
Steve DiBenedetto | 80ddc21 | 2014-02-01 22:23:56 -0700 | [diff] [blame^] | 38 | } // namespace nfd |
Steve DiBenedetto | 042bfe9 | 2014-01-30 15:05:08 -0700 | [diff] [blame] | 39 | |
| 40 | #endif // NFD_MGMT_MANAGER_BASE_HPP |
| 41 | |