[ndnSIM] check content store entries periodically ?

Spyridon (Spyros) Mastorakis mastorakis at cs.ucla.edu
Thu Dec 21 08:46:29 PST 2017


this is some custom functionality that you will have to implement on your own. You can schedule periodic events with the Simulator::Schedule method of NS-3 and iterate over the CS entries with the CS iterators. Take a look here for more details:

https://www.nsnam.org/doxygen/classns3_1_1_simulator.html#a81c1ade622b5266d81908b2a99a330d2 <https://www.nsnam.org/doxygen/classns3_1_1_simulator.html#a81c1ade622b5266d81908b2a99a330d2>
https://github.com/named-data/NFD/blob/master/daemon/table/cs.hpp#L147-L153 <https://github.com/named-data/NFD/blob/master/daemon/table/cs.hpp#L147-L153>


Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
Internet Research Laboratory
Computer Science Department

> On Dec 20, 2017, at 4:35 PM, Chengb Cao <chengbcao at gmail.com> wrote:
> Hi,all
> Is there any way to get the CS entries periodically during my simulation, and  what methods should i use? 
> using ndnSIM 2.4 here.
> Thanks.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20171221/2269183d/attachment.html>

More information about the ndnSIM mailing list