[ndnSIM] [EXT] beforeExpireInterest in custom forwarding

Junxiao Shi shijunxiao at email.arizona.edu
Fri Feb 12 05:12:25 PST 2021


Hi Jeet

Before Expire Interest Trigger is deleted because no strategy in NFD uses
it so it's pure overhead.
You can achieve the same by:
1. Attach a custom StrategyInfo to the PIT entry.
2. Add the logic in the destructor of that StrategyInfo subclass.

Yours, Junxiao

On Fri, Feb 12, 2021, 07:06 RABARI JEET.HASMUKHBHAI <
rabari_m190217cs at nitc.ac.in> wrote:

> *External Email*
> Hello,
>
> Even though documentation specifies that a method called before PIT is
> expired (https://ndnsim.net/current/fw.html ). There is no corresponding
> method in the Forwarder class.
>
> Is there any other method which called just before PIT is expired?
>
> Thanks and Regards,
> Jeet Rabari
> National Institute of Technology, Calicut
> _______________________________________________
> 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/20210212/56fcfaf6/attachment.html>


More information about the ndnSIM mailing list