fw+table: add isSatisfied and dataFreshnessPeriod to PIT entry

Change-Id: I00731028131139164adca342d0a0fd7d3af0709a
refs: #4290
diff --git a/daemon/table/pit-entry.cpp b/daemon/table/pit-entry.cpp
index 157b9f9..ee4b726 100644
--- a/daemon/table/pit-entry.cpp
+++ b/daemon/table/pit-entry.cpp
@@ -1,6 +1,6 @@
 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
-/**
- * Copyright (c) 2014-2016,  Regents of the University of California,
+/*
+ * Copyright (c) 2014-2018,  Regents of the University of California,
  *                           Arizona Board of Regents,
  *                           Colorado State University,
  *                           University Pierre & Marie Curie, Sorbonne University,
@@ -30,7 +30,9 @@
 namespace pit {
 
 Entry::Entry(const Interest& interest)
-  : m_interest(interest.shared_from_this())
+  : isSatisfied(false)
+  , dataFreshnessPeriod(0_ms)
+  , m_interest(interest.shared_from_this())
   , m_nameTreeEntry(nullptr)
 {
 }
diff --git a/daemon/table/pit-entry.hpp b/daemon/table/pit-entry.hpp
index 31a2f04..9cfb0a4 100644
--- a/daemon/table/pit-entry.hpp
+++ b/daemon/table/pit-entry.hpp
@@ -1,6 +1,6 @@
 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
-/**
- * Copyright (c) 2014-2016,  Regents of the University of California,
+/*
+ * Copyright (c) 2014-2018,  Regents of the University of California,
  *                           Arizona Board of Regents,
  *                           Colorado State University,
  *                           University Pierre & Marie Curie, Sorbonne University,
@@ -236,6 +236,15 @@
    */
   scheduler::EventId m_stragglerTimer;
 
+  /** \brief indicate if PIT entry is satisfied
+   */
+  bool isSatisfied;
+
+  /** \brief Data freshness period
+   *  \note This field is meaningful only if isSatisfied is true
+   */
+  time::milliseconds dataFreshnessPeriod;
+
 private:
   shared_ptr<const Interest> m_interest;
   InRecordCollection m_inRecords;