Complete remaining changes for ChronoSync dependency issue
refs: #2400
Change-Id: If0cf9d3140f3ef65d86394fad3b6a6c7c58064f9
diff --git a/src/communication/sync-logic-handler.cpp b/src/communication/sync-logic-handler.cpp
index 11330b5..acfeae9 100644
--- a/src/communication/sync-logic-handler.cpp
+++ b/src/communication/sync-logic-handler.cpp
@@ -77,7 +77,7 @@
m_syncSocket = std::make_shared<chronosync::Socket>(m_syncPrefix, m_nameLsaUserPrefix, *facePtr,
- bind(&SyncLogicHandler::onNsyncUpdate, this, _1));
+ bind(&SyncLogicHandler::onChronoSyncUpdate, this, _1));
if (m_confParam.getHyperbolicState() == HYPERBOLIC_STATE_OFF) {
m_syncSocket->addSyncNode(m_adjLsaUserPrefix);
@@ -88,9 +88,9 @@
}
void
-SyncLogicHandler::onNsyncUpdate(const vector<chronosync::MissingDataInfo>& v)
+SyncLogicHandler::onChronoSyncUpdate(const vector<chronosync::MissingDataInfo>& v)
{
- _LOG_DEBUG("Received Nsync update event");
+ _LOG_DEBUG("Received ChronoSync update event");
for (size_t i = 0; i < v.size(); i++){
ndn::Name updateName = v[i].session.getPrefix(-1);