22 #ifndef NLSR_SEQUENCING_MANAGER_HPP
23 #define NLSR_SEQUENCING_MANAGER_HPP
29 #include <ndn-cxx/face.hpp>
133 initiateSeqNoFromFile();
143 setSeqFileDirectory(
const std::string& filePath);
149 uint64_t m_nameLsaSeq = 0;
150 uint64_t m_adjLsaSeq = 0;
151 uint64_t m_corLsaSeq = 0;
152 std::string m_seqFileNameWithPath;
155 int m_hyperbolicState;
uint64_t getNameLsaSeq() const
uint64_t getLsaSeq(Lsa::Type lsaType)
void setNameLsaSeq(uint64_t nlsn)
void setLsaSeq(uint64_t seqNo, Lsa::Type lsaType)
SequencingManager(const std::string &filePath, int hypState)
uint64_t getAdjLsaSeq() const
uint64_t getCorLsaSeq() const
void setCorLsaSeq(uint64_t clsn)
void increaseNameLsaSeq()
void writeSeqNoToFile() const
void setAdjLsaSeq(uint64_t alsn)
Copyright (c) 2014-2020, The University of Memphis, Regents of the University of California.
#define PUBLIC_WITH_TESTS_ELSE_PRIVATE