apps+examples: Adjust Face creation and Face operations for NFD 0.4+ model
Change-Id: Ib0fb0f49a550c77a9bd94729cdf6fb3b11d1e8ab
Refs: #3560
diff --git a/examples/ndn-custom-apps/custom-app.cpp b/examples/ndn-custom-apps/custom-app.cpp
index 00e79a5..7984e28 100644
--- a/examples/ndn-custom-apps/custom-app.cpp
+++ b/examples/ndn-custom-apps/custom-app.cpp
@@ -85,7 +85,7 @@
// Call trace (for logging purposes)
m_transmittedInterests(interest, this, m_face);
- m_face->onReceiveInterest(*interest);
+ m_appLink->onReceiveInterest(*interest);
}
// Callback that will be called when Interest arrives
@@ -108,7 +108,7 @@
// Call trace (for logging purposes)
m_transmittedDatas(data, this, m_face);
- m_face->onReceiveData(*data);
+ m_appLink->onReceiveData(*data);
}
// Callback that will be called when Data arrives