akmhoque | 298385a | 2014-02-13 14:13:09 -0600 | [diff] [blame] | 1 | #ifndef NLSR_DM_HPP |
| 2 | #define NLSR_DM_HPP |
| 3 | |
| 4 | #include <ndn-cpp-dev/face.hpp> |
| 5 | #include <ndn-cpp-dev/security/key-chain.hpp> |
| 6 | #include <ndn-cpp-dev/util/scheduler.hpp> |
| 7 | |
| 8 | |
| 9 | using namespace ndn; |
| 10 | using namespace std; |
| 11 | |
akmhoque | 1a48109 | 2014-02-19 16:34:22 -0600 | [diff] [blame^] | 12 | class Nlsr; |
akmhoque | 298385a | 2014-02-13 14:13:09 -0600 | [diff] [blame] | 13 | |
| 14 | class DataManager |
| 15 | { |
| 16 | public: |
akmhoque | 1a48109 | 2014-02-19 16:34:22 -0600 | [diff] [blame^] | 17 | void processContent(Nlsr& pnlsr, const ndn::Interest &interest, |
akmhoque | 298385a | 2014-02-13 14:13:09 -0600 | [diff] [blame] | 18 | const ndn::Data& data); |
akmhoque | 1a48109 | 2014-02-19 16:34:22 -0600 | [diff] [blame^] | 19 | void processContentInfo(Nlsr& pnlsr, string& dataName, |
akmhoque | 298385a | 2014-02-13 14:13:09 -0600 | [diff] [blame] | 20 | string& dataContent); |
| 21 | private: |
| 22 | |
| 23 | }; |
| 24 | |
| 25 | |
| 26 | #endif |