<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Adhy<div class=""><br class=""></div><div class="">The method to delay Interest forwarding is explained in this answer: <a href="http://www.lists.cs.ucla.edu/pipermail/ndnsim/2017-July/003952.html" class="">http://www.lists.cs.ucla.edu/pipermail/ndnsim/2017-July/003952.html</a></div><div class="">Forwarding strategy does not have control over Data forwarding nor can it delay Data forwarding. The reason is explained in this answer: <a href="http://www.lists.cs.ucla.edu/pipermail/ndnsim/2017-July/003961.html" class="">http://www.lists.cs.ucla.edu/pipermail/ndnsim/2017-July/003961.html</a></div><div class="">Also, you need to ensure your Interest name (including any “extra name components”) is a prefix of the Data name. Otherwise, Data does not satisfy Interest and will not be received by the consumer.</div><div class=""><br class=""></div><div class="">Yours, Junxiao</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jul 13, 2017, at 11:43 AM, Adhy Satya <<a href="mailto:adhysatya820@gmail.com" class="">adhysatya820@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi,<div class=""><br class=""></div><div class="">My consumer and producer applications send Interest and Data packets with extra name components. I wrote a custom forwarding strategy that reads this name components and forward packets with certain delay.</div><div class=""><br class=""></div><div class="">I'm using NFD 0.5.0 and ndn-cxx 0.5.0. I'm unsure where to implement the timer. It seems that if I implement a timer to call "this->sendInterest()" it will block the forwarder for a certain amount of time.</div><div class=""><br class=""></div><div class="">Can you assist me on this issue please?</div><div class=""><br class=""></div><div class="">Thank you</div></div>
_______________________________________________<br class="">Ndn-interest mailing list<br class=""><a href="mailto:Ndn-interest@lists.cs.ucla.edu" class="">Ndn-interest@lists.cs.ucla.edu</a><br class="">http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest<br class=""></div></blockquote></div><br class=""></div></body></html>