model: First set of major API changes and reorganizations
Main motive: change interface in Face class, resulting in need to change forwarding strategy interfaces
Refs #1005 (http://redmine.named-data.net/)
diff --git a/examples/custom-apps/ndn-api-app.cc b/examples/custom-apps/ndn-api-app.cc
index 3df6a27..90ebece 100644
--- a/examples/custom-apps/ndn-api-app.cc
+++ b/examples/custom-apps/ndn-api-app.cc
@@ -41,28 +41,28 @@
ApiApp::ApiApp ()
{
- m_handler = CreateObject<Handler> ();
+ // m_handler = CreateObject<Handler> ();
}
void
ApiApp::RequestData ()
{
- m_handler->sendInterest ("/test/prefix", boost::bind (&ApiApp::OnData
+ // m_handler->sendInterest ("/test/prefix", boost::bind (&ApiApp::OnData
}
void
ApiApp::StartApplication ()
{
- m_handler->SetNode (GetNode ());
- m_handler->StartApplication ();
+ // m_handler->SetNode (GetNode ());
+ // m_handler->StartApplication ();
- Simulator::Schedule (Seconds (1), &::ns3::ndn::ApiApp::RequestData, this);
+ // Simulator::Schedule (Seconds (1), &::ns3::ndn::ApiApp::RequestData, this);
}
void
ApiApp::StopApplication ()
{
- m_handler->StopApplication ();
+ // m_handler->StopApplication ();
}
} // namespace ndn