[ndnSIM] Use of scheduler::schedule()

Spyridon (Spyros) Mastorakis mastorakis at cs.ucla.edu
Tue May 14 18:29:56 PDT 2019

Hi Muktadir,

can you try to use the Simulator::Schedule method instead?



Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/ <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> wrote:
> There is a typo in the mail. The intermediate node is node#1.
> -Muktadir
> From: Muktadir R Chowdhury (mrchwdhr)
> Sent: Tuesday, May 14, 2019 9:57:41 AM
> To: ndnsim
> Subject: Use of scheduler::schedule()
>   node#0 ------------- node#1 -----------------node#2
> (consumer)                                             (producer)
> 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?
> Regards,
> Muktadir Chowdhury
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim

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

More information about the ndnSIM mailing list