blob: 2a8958b874462c8d0349495576a82af1bb8579ec [file] [log] [blame]
akmhoque298385a2014-02-13 14:13:09 -06001#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
akmhoqueb1710aa2014-02-19 17:13:36 -06008namespace nlsr {
akmhoque298385a2014-02-13 14:13:09 -06009
10using namespace ndn;
11using namespace std;
12
akmhoque1a481092014-02-19 16:34:22 -060013class Nlsr;
akmhoque298385a2014-02-13 14:13:09 -060014
15class DataManager
16{
17public:
akmhoque1a481092014-02-19 16:34:22 -060018 void processContent(Nlsr& pnlsr, const ndn::Interest &interest,
akmhoque298385a2014-02-13 14:13:09 -060019 const ndn::Data& data);
akmhoque1a481092014-02-19 16:34:22 -060020 void processContentInfo(Nlsr& pnlsr, string& dataName,
akmhoque298385a2014-02-13 14:13:09 -060021 string& dataContent);
22private:
23
24};
25
akmhoqueb1710aa2014-02-19 17:13:36 -060026}//namespace nlsr
akmhoque298385a2014-02-13 14:13:09 -060027#endif