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 | |
akmhoque | 1fd8c1e | 2014-02-19 19:41:49 -0600 | [diff] [blame^] | 8 | namespace nlsr |
akmhoque | 298385a | 2014-02-13 14:13:09 -0600 | [diff] [blame] | 9 | { |
akmhoque | 1fd8c1e | 2014-02-19 19:41:49 -0600 | [diff] [blame^] | 10 | |
| 11 | using namespace ndn; |
| 12 | using namespace std; |
| 13 | |
| 14 | class Nlsr; |
| 15 | |
| 16 | class DataManager |
| 17 | { |
| 18 | public: |
| 19 | void processContent(Nlsr& pnlsr, const ndn::Interest &interest, |
| 20 | const ndn::Data& data); |
| 21 | void processContentInfo(Nlsr& pnlsr, string& dataName, |
| 22 | string& dataContent); |
| 23 | private: |
| 24 | |
| 25 | }; |
akmhoque | 298385a | 2014-02-13 14:13:09 -0600 | [diff] [blame] | 26 | |
akmhoque | b1710aa | 2014-02-19 17:13:36 -0600 | [diff] [blame] | 27 | }//namespace nlsr |
akmhoque | 298385a | 2014-02-13 14:13:09 -0600 | [diff] [blame] | 28 | #endif |