[ndnSIM] Use of scheduler::schedule()
Muktadir R Chowdhury (mrchwdhr)
mrchwdhr at memphis.edu
Tue May 14 23:09:52 PDT 2019
That is working. Thanks.
From: Spyridon (Spyros) Mastorakis <mastorakis at cs.ucla.edu>
Sent: Wednesday, May 15, 2019 7:29:56 AM
To: Muktadir R Chowdhury (mrchwdhr)
Subject: Re: [ndnSIM] Use of scheduler::schedule()
can you try to use the Simulator::Schedule method instead?
Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/
Internet Research Laboratory
Computer Science Department
On May 13, 2019, at 9:04 PM, Muktadir R Chowdhury (mrchwdhr) <mrchwdhr at memphis.edu<mailto:mrchwdhr at memphis.edu>> wrote:
There is a typo in the mail. The intermediate node is node#1.
From: Muktadir R Chowdhury (mrchwdhr)
Sent: Tuesday, May 14, 2019 9:57:41 AM
Subject: Use of scheduler::schedule()
node#0 ------------- node#1 -----------------node#2
I have the above the topology. node#0 will express interest for a data. In the forwarding strategy, the intermediate node (node#3) will wait for some time before forwarding the interest. I am scheduling the sending of interest in the forwarding strategy after 1 second using scheduler::schedule()<https://github.com/named-data-ndnSIM/NFD/blob/49f22b05e1a57b0a88d90cc0111f9a1d7a5cbd21/core/scheduler.hpp#L44> From the log, I can see that node#1 is scheduling to send the interest after 1 second.But, after 1 second it is node#0 which is sending the scheduled interest, not node#1.
Should I use anything else to schedule sending of interest?
ndnSIM mailing list
ndnSIM at lists.cs.ucla.edu<mailto:ndnSIM at lists.cs.ucla.edu>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM