fw: replace straggler timer with per-strategy decision
remove onInterestReject pipeline
refs: #4200
Change-Id: I184d7ef7f732efda3d1066eef6cd89e36a6a8802
diff --git a/daemon/fw/forwarder.hpp b/daemon/fw/forwarder.hpp
index c50c573..36af43a 100644
--- a/daemon/fw/forwarder.hpp
+++ b/daemon/fw/forwarder.hpp
@@ -209,11 +209,6 @@
VIRTUAL_WITH_TESTS void
onOutgoingInterest(const shared_ptr<pit::Entry>& pitEntry, Face& outFace, const Interest& interest);
- /** \brief Interest reject pipeline
- */
- VIRTUAL_WITH_TESTS void
- onInterestReject(const shared_ptr<pit::Entry>& pitEntry);
-
/** \brief Interest finalize pipeline
*/
VIRTUAL_WITH_TESTS void
@@ -248,14 +243,10 @@
onDroppedInterest(Face& outFace, const Interest& interest);
PROTECTED_WITH_TESTS_ELSE_PRIVATE:
- VIRTUAL_WITH_TESTS void
- setUnsatisfyTimer(const shared_ptr<pit::Entry>& pitEntry);
-
- VIRTUAL_WITH_TESTS void
- setStragglerTimer(const shared_ptr<pit::Entry>& pitEntry);
-
- VIRTUAL_WITH_TESTS void
- cancelUnsatisfyAndStragglerTimer(pit::Entry& pitEntry);
+ /** \brief set a new expiry timer (now + \p duration) on a PIT entry
+ */
+ void
+ setExpiryTimer(const shared_ptr<pit::Entry>& pitEntry, time::milliseconds duration);
/** \brief insert Nonce to Dead Nonce List if necessary
* \param upstream if null, insert Nonces from all out-records;