fw: add strategy notification for Interests dropped by LpReliability
add dropped Interest counter to faces
refs #3823
Change-Id: I9910b66932d74383203e8f3732bb45cade83b972
diff --git a/daemon/face/face.hpp b/daemon/face/face.hpp
index 4b99d2f..4a97b3f 100644
--- a/daemon/face/face.hpp
+++ b/daemon/face/face.hpp
@@ -1,5 +1,5 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
-/**
+/*
* Copyright (c) 2014-2017, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
@@ -23,13 +23,13 @@
* NFD, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef NFD_DAEMON_FACE_HPP
-#define NFD_DAEMON_FACE_HPP
+#ifndef NFD_DAEMON_FACE_FACE_HPP
+#define NFD_DAEMON_FACE_FACE_HPP
-#include "transport.hpp"
-#include "link-service.hpp"
#include "face-counters.hpp"
#include "face-log.hpp"
+#include "link-service.hpp"
+#include "transport.hpp"
namespace nfd {
namespace face {
@@ -107,6 +107,10 @@
*/
signal::Signal<LinkService, lp::Nack>& afterReceiveNack;
+ /** \brief signals on Interest dropped by reliability system for exceeding allowed number of retx
+ */
+ signal::Signal<LinkService, Interest>& onDroppedInterest;
+
public: // static properties
/** \return face ID
*/
@@ -300,4 +304,4 @@
} // namespace nfd
-#endif // NFD_DAEMON_FACE_HPP
+#endif // NFD_DAEMON_FACE_FACE_HPP