model+ndn.cxx+test: Finishing implementation of ApiFace (now timeouts are working as well)
Also, adding a basic test case to test ApiFace
Refs #1005 (http://redmine.named-data.net/)
diff --git a/examples/ndn-simple-api.cc b/examples/ndn-simple-api.cc
index 587ca55..5fb4dd9 100644
--- a/examples/ndn-simple-api.cc
+++ b/examples/ndn-simple-api.cc
@@ -76,7 +76,8 @@
// Consumer
ndn::AppHelper consumerHelper ("ns3::ndn::ApiApp");
consumerHelper.SetPrefix ("/prefix");
- consumerHelper.Install (nodes.Get (0)); // first node
+ ApplicationContainer app = consumerHelper.Install (nodes.Get (0)); // first node
+ app.Stop (Seconds (10.0));
// Producer
ndn::AppHelper producerHelper ("ns3::ndn::Producer");