src: Lsa interest retransmission in case of timeout
Refs: #1634
Change-Id: Iceeb6921bcc360de50714d227e8f12c4d0514115
diff --git a/src/lsdb.hpp b/src/lsdb.hpp
index 752b52b..ef98138 100644
--- a/src/lsdb.hpp
+++ b/src/lsdb.hpp
@@ -138,7 +138,8 @@
uint64_t seqNo);
public:
void
- expressInterest(const ndn::Name& interestName, uint32_t interestLifeTime);
+ expressInterest(const ndn::Name& interestName, uint32_t interestLifeTime,
+ uint32_t timeoutCount);
void
processInterest(const ndn::Name& name, const ndn::Interest& interest);
@@ -175,7 +176,7 @@
uint32_t lsSeqNo, std::string& dataContent);
void
- processInterestTimedOut(const ndn::Interest& interest);
+ processInterestTimedOut(const ndn::Interest& interest, uint32_t timeoutCount);
ndn::time::system_clock::TimePoint
getLsaExpirationTimePoint();