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
diff --git a/examples/trie.cc b/examples/trie.cc
index 36e52ac..4d82ba6 100644
--- a/examples/trie.cc
+++ b/examples/trie.cc
@@ -70,7 +70,6 @@
x.erase (item.first);
x.insert (n1, ns3::Create<Integer> (1));
- x.find (n1);
x.insert (n4, ns3::Create<Integer> (4));
// std::cout << x.getTrie ();