blob: 1547407ab0ebd6761dc3141dfc3957c7f51b6fd7 [file] [log] [blame]
akmhoque87347a32014-01-31 11:00:44 -06001#ifndef ADL_HPP
2#define ADL_HPP
3
4#include <ndn-cpp-dev/face.hpp>
5#include "adjacent.hpp"
6#include<list>
7
8using namespace std;
9
10class Adl{
11
12public:
13 Adl();
14 ~Adl();
15 int insert(Adjacent& adj);
16 int updateAdjacentStatus(string adjName, int s);
17 int updateAdjacentLinkCost(string adjName, double lc);
18 void printAdl();
19 std::list<Adjacent> getAdjList();
20
21
22private:
23 std::list< Adjacent > adjList;
24};
25
26#endif