communication: adapt to API changes in PSync
Pass the KeyChain instance to psync::FullProducer
Change-Id: Ia97356dc364c7bdaf6dc80ad57fa351eeabe997d
diff --git a/src/lsdb.hpp b/src/lsdb.hpp
index 915c7b6..0578edd 100644
--- a/src/lsdb.hpp
+++ b/src/lsdb.hpp
@@ -178,7 +178,8 @@
}
void
- incrementDataSentStats(Lsa::Type lsaType) {
+ incrementDataSentStats(Lsa::Type lsaType)
+ {
if (lsaType == Lsa::Type::NAME) {
lsaIncrementSignal(Statistics::PacketType::SENT_NAME_LSA_DATA);
}
@@ -191,7 +192,8 @@
}
void
- incrementInterestRcvdStats(Lsa::Type lsaType) {
+ incrementInterestRcvdStats(Lsa::Type lsaType)
+ {
if (lsaType == Lsa::Type::NAME) {
lsaIncrementSignal(Statistics::PacketType::RCV_NAME_LSA_INTEREST);
}
@@ -204,7 +206,8 @@
}
void
- incrementInterestSentStats(Lsa::Type lsaType) {
+ incrementInterestSentStats(Lsa::Type lsaType)
+ {
if (lsaType == Lsa::Type::NAME) {
lsaIncrementSignal(Statistics::PacketType::SENT_NAME_LSA_INTEREST);
}
@@ -222,7 +225,7 @@
\param seqNo The sequence number to check.
*/
bool
- isLsaNew(const ndn::Name& originRouter, const Lsa::Type& lsaType, uint64_t lsSeqNo)
+ isLsaNew(const ndn::Name& originRouter, const Lsa::Type& lsaType, uint64_t lsSeqNo) const
{
// Is the name in the LSDB and the supplied seq no is the highest so far
auto lsaPtr = findLsa(originRouter, lsaType);