[Nfd-dev] beforeExpirePendingInterest for forwarding strategy

Navdeep Uniyal navdeep.uniyal at neclab.eu
Thu Aug 20 05:15:29 PDT 2015


Hi Steve,

Thank you for your reply. I have a doubt regarding the triggering of this event. I am using Ndn Traffic Generator for testing my strategy. I am overriding this method “beforeExpirePendingInterest” just to get some log trace. But I am unable to see anything in the logs. As per my understanding, for all the timed out interests this method should be triggered. Please if you can suggest what could be the potential issue for the method to be not logging anything for the timed out  interest messages.



Best Regards,
Navdeep Uniyal
Intern
NEC Europe Ltd.
NEC Laboratories Europe
Kurfürsten-Anlage 36

D-69115 Heidelberg

phone +49 1764 1677 930
e-mail: navdeep.uinyal at neclab.eu<mailto:navdeep.uinyal at neclab.eu>

NEC Europe Ltd | Registered Office: Athene, Odyssey Business Park, West End  Road, London, HA4 6QE, GB | Registered in England 2832014

From: Steven DiBenedetto [mailto:steven.dibenedetto at gmail.com] On Behalf Of Steve DiBenedetto
Sent: Mittwoch, 19. August 2015 17:13
To: Navdeep Uniyal
Cc: nfd-dev at lists.cs.ucla.edu
Subject: Re: [Nfd-dev] beforeExpirePendingInterest for forwarding strategy

You should be able use the beforeExpirePendingInterest trigger, but you need to override it in your custom strategy. By default, the trigger is implemented in the base Strategy class with an empty implementation that does nothing (except a logging DEBUG message).

-Steve

On Aug 19, 2015, at 7:47 AM, Navdeep Uniyal <navdeep.uniyal at neclab.eu<mailto:navdeep.uniyal at neclab.eu>> wrote:

Hello all,

Is it possible to use the trigger “beforeExpirePendingInterest” in a forwarding strategy. If not, then please if someone can suggest any workaround to deal with unsatisfied pending interests to note down some measurements for the forwarding strategy.


Best Regards,
Navdeep Uniyal
_______________________________________________
Nfd-dev mailing list
Nfd-dev at lists.cs.ucla.edu<mailto:Nfd-dev at lists.cs.ucla.edu>
http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20150820/741ddda5/attachment.html>


More information about the Nfd-dev mailing list