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 | a8cd6b9 | 2014-01-31 20:13:26 -0600 | [diff] [blame] | 17 | void processContent(nlsr& pnlsr, |
akmhoque | 95b7c8c | 2014-01-31 15:53:09 -0600 | [diff] [blame] | 18 | const ndn::ptr_lib::shared_ptr<const ndn::Interest> &interest, |
| 19 | const ndn::ptr_lib::shared_ptr<ndn::Data> &data); |
akmhoque | a8cd6b9 | 2014-01-31 20:13:26 -0600 | [diff] [blame] | 20 | void processContentInfo(nlsr& pnlsr, string& dataName, |
| 21 | string& dataContent); |
akmhoque | 95b7c8c | 2014-01-31 15:53:09 -0600 | [diff] [blame] | 22 | private: |
| 23 | |
| 24 | }; |
| 25 | |
| 26 | |
| 27 | #endif |