blob: 1547407ab0ebd6761dc3141dfc3957c7f51b6fd7 [file] [log] [blame]
#ifndef ADL_HPP
#define ADL_HPP
#include <ndn-cpp-dev/face.hpp>
#include "adjacent.hpp"
#include<list>
using namespace std;
class Adl{
public:
Adl();
~Adl();
int insert(Adjacent& adj);
int updateAdjacentStatus(string adjName, int s);
int updateAdjacentLinkCost(string adjName, double lc);
void printAdl();
std::list<Adjacent> getAdjList();
private:
std::list< Adjacent > adjList;
};
#endif