Putting back state reconciliation logic. Other changes
diff --git a/model/sync-logic.cc b/model/sync-logic.cc
index 0e8d0b7..faf4e50 100644
--- a/model/sync-logic.cc
+++ b/model/sync-logic.cc
@@ -259,13 +259,13 @@
}
else
{
- _LOG_TRACE (" (timed processing)");
- // _LOG_TRACE (">> D " << interestName << "/state" << " (timed processing)");
+ // _LOG_TRACE (" (timed processing)");
+ _LOG_TRACE (">> D " << interestName << "/state" << " (timed processing)");
- // m_syncInterestTable.remove (interestName + "/state");
- // m_ccnxHandle->publishData (interestName + "/state",
- // lexical_cast<string> (m_state),
- // m_syncResponseFreshness);
+ m_syncInterestTable.remove (interestName + "/state");
+ m_ccnxHandle->publishData (interestName + "/state",
+ lexical_cast<string> (m_state),
+ m_syncResponseFreshness);
// exit (1);
// if (m_outstandingInterest == interestName)