akmhoque | 95b7c8c | 2014-01-31 15:53: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 | |
| 12 | class nlsr; |
| 13 | |
| 14 | class DataManager |
| 15 | { |
| 16 | public: |
akmhoque | 9d19a49 | 2014-02-11 19:44:29 -0600 | [diff] [blame^] | 17 | void processContent(nlsr& pnlsr, const ndn::Interest &interest, |
| 18 | const ndn::Data& data); |
akmhoque | a8cd6b9 | 2014-01-31 20:13:26 -0600 | [diff] [blame] | 19 | void processContentInfo(nlsr& pnlsr, string& dataName, |
| 20 | string& dataContent); |
akmhoque | 95b7c8c | 2014-01-31 15:53:09 -0600 | [diff] [blame] | 21 | private: |
| 22 | |
| 23 | }; |
| 24 | |
| 25 | |
| 26 | #endif |