Modifying implementation of content store to use new trie
diff --git a/examples/ccnx-simple.cc b/examples/ccnx-simple.cc
index d5a90b6..da8b1f6 100644
--- a/examples/ccnx-simple.cc
+++ b/examples/ccnx-simple.cc
@@ -80,9 +80,15 @@
NS_LOG_INFO ("Installing CCNx applications");
CcnxAppHelper consumerHelper ("ns3::CcnxConsumerCbr");
// Consumer will request /prefix/0, /prefix/1, ...
- consumerHelper.SetPrefix ("/prefix");
- consumerHelper.SetAttribute ("Frequency", StringValue ("10")); // 10 interests a second
+ consumerHelper.SetPrefix ("/prefix/0");
+ consumerHelper.SetAttribute ("Frequency", StringValue ("1")); // 10 interests a second
ApplicationContainer consumers = consumerHelper.Install (nodes.Get (0)); // first node
+ consumers.Stop (Seconds (0.3));
+
+ consumerHelper.SetPrefix ("/prefix");
+ consumers = consumerHelper.Install (nodes.Get (0)); // first node
+ consumers.Start (Seconds (1));
+ consumers.Stop (Seconds (1.3));
CcnxAppHelper producerHelper ("ns3::CcnxProducer");
// Producer will reply to all requests starting with /prefix