<div dir="ltr">Hello,<br><br>I'm trying to implement a node that send one interest with prefix ("/prefix" for example) for a few seconds (for example from 0 to 5s). And after 2 seconds, start the <font color="#ff0000">same application</font> <font color="#ff0000">with this same consumer</font>. But, when I made it, nothing is happening after the end of the application (in 5s). I take a look at this answer (<a href="http://www.lists.cs.ucla.edu/pipermail/ndnsim/2013-March/000189.html">http://www.lists.cs.ucla.edu/pipermail/ndnsim/2013-March/000189.html</a>), but this didn't work for me =(. Can some help ?<br><br>here is what i'm doing:<br><br><span style="font-size:12.8px">ndn::StackHelper ndnHelper;<br></span><span style="font-size:12.8px">ndnHelper.InstallAll();<br></span><span style="font-size:12.8px"><br></span><span style="font-size:12.8px"> ndn::GlobalRoutingHelper ndnGlobalRoutingHelper;</span><br style="font-size:12.8px"><span style="font-size:12.8px">  ndnGlobalRoutingHelper.</span><span style="font-size:12.8px">InstallAll();<br></span><br><span style="font-size:12.8px"> ndn::StrategyChoiceHelper::</span><span style="font-size:12.8px">InstallAll("/prefix", "/localhost/nfd/strategy/best-</span><span style="font-size:12.8px">route");</span><br style="font-size:12.8px"><br><span style="font-size:12.8px">ndn::AppHelper consumerHelper("ns3::ndn::</span><span style="font-size:12.8px">ConsumerCbr");<br></span><br><span style="font-size:12.8px">consumerHelper.SetPrefix("/prefix</span><span style="font-size:12.8px">");</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">  ApplicationContainer apps = consumerHelper.Install (consumerNode);</span><br style="font-size:12.8px"><span style="font-size:12.8px">         apps.Start (Seconds (0.0));</span><br style="font-size:12.8px"><span style="font-size:12.8px">         apps.Stop  (Seconds (5.0));</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">  ApplicationContainer apps2 = consumerHelper.Install (consumerNode);</span><br style="font-size:12.8px"><span style="font-size:12.8px">         apps2.Start (Seconds (7.0));</span><br style="font-size:12.8px"><span style="font-size:12.8px">         apps2.Stop  (Seconds (20.0));<br><br></span><span style="font-size:12.8px">ndn::AppHelper producerHelper("ns3::ndn::</span><span style="font-size:12.8px">Producer");</span><br style="font-size:12.8px"><span style="font-size:12.8px">producerHelper.SetAttribute("</span><span style="font-size:12.8px">PayloadSize", StringValue("1024"));</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">  ndnGlobalRoutingHelper.</span><span style="font-size:12.8px">AddOrigins("/prefix", producerNode);</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">  producerHelper.SetPrefix("/prefix</span><span style="font-size:12.8px">");</span><br style="font-size:12.8px"><span style="font-size:12.8px">  producerHelper.Install(</span><span style="font-size:12.8px">producerNode);</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">  ndn::GlobalRoutingHelper::</span><span style="font-size:12.8px">CalculateRoutes();</span><span style="font-size:12.8px"><br></span><br><br><br>Thanks in advance<br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Andrey Silva<br><br><div>Engenheiro da Computação - Universidade Federal do Pará<br>Mestrando em Engenharia Elétrica <span style="font-size:12.8px">- Laboratório de Processamento de Sinais - </span><span style="font-size:12.8px">Universidade Federal do Pará </span><span style="font-size:12.8px">.</span></div><div>-</div><div><a href="http://laps.ufpa.br/" target="_blank">http://laps.ufpa.br/</a></div><div><h3 style="padding:0px;margin:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background-color:rgb(255,255,255)"><em style="font-style:normal;font-weight:normal"><font size="2" style="color:rgb(34,34,34);font-family:arial,sans-serif"><br></font></em></h3></div></div></div></div>
</div>