<div dir="ltr"><div>Hello everyone,</div><div>I am working on a custom strategy where I need to track expired pending interests. I have found that the function <i>beforeExpirePendingInterest</i> in the base <u>strategy</u> class has been removed in ndnSIM-2.7. I have added the function back in the base <u>strategy</u> class and modified the <i>onInterestFinalize </i>function in the <u>forwarder</u> class in the following way.<br><i></i></div><div><br></div><div><font size="2"><span style="font-family:arial narrow,sans-serif">if (!pitEntry->isSatisfied) {<br>    beforeExpirePendingInterest(*pitEntry);<br>    /*~~~~~~~~~~MY MODIFICATION~~~~~~~~~~~~~*/<br>    this->dispatchToStrategy(*pitEntry, <br>      [&] (fw::Strategy& strategy) { strategy.beforeExpirePendingInterest(pitEntry); });</span></font></div><div><font size="2"><span style="font-family:arial narrow,sans-serif">}</span></font></div><div><br></div><div>I have recompiled all code in optimized mode and overridden the <i>beforeExpirePendingInterest </i>in my custom strategy subclass. Now, the problem is, this function is not getting invoked in my strategy subclass when pending interest is expired. What could be the issue? Did I miss anything to add either in the base strategy or forwarder class? All my code are inside the scenario folder. Thanks.  <br></div><div><br></div><div><br><i></i></div></div>