face: Moving idle UdpFace closing logic to UdpFace class
Change-Id: Ia7310fa18681f17d93c8214ce744da909fea7022
Refs: #1686
diff --git a/daemon/face/face.hpp b/daemon/face/face.hpp
index 987853e..2660045 100644
--- a/daemon/face/face.hpp
+++ b/daemon/face/face.hpp
@@ -31,6 +31,8 @@
#include "core/face-uri.hpp"
#include "face-counter.hpp"
+#include <ndn-cxx/management/nfd-face-status.hpp>
+
namespace nfd {
/** \class FaceId
@@ -149,6 +151,11 @@
const FaceUri&
getLocalUri() const;
+ /** \return FaceStatus data structure filled with the current Face status
+ */
+ virtual ndn::nfd::FaceStatus
+ getFaceStatus() const;
+
protected:
// this is a non-virtual method
bool