<div dir="auto"><div>Hi John</div><div dir="auto"><br></div><div dir="auto">The truth is in source code. Any documentation is secondary: they could be outdated, or they could reflect a planned feature/change which is not yet implement.</div><div dir="auto"><br></div><div dir="auto">In this instance, NFD devguide is correct. Strategy's <b>after receive Interest</b> trigger is invoked only if the Interest is not satisfied by ContentStore.</div><div dir="auto"><br></div><div dir="auto">NFD's <b>Forwarder::onIncomingInterest</b> function is invoked for every incoming Interest. That function, at the end, performs a CS lookup, and branches out to two cases: CS hit or CS miss.</div><div dir="auto"><br></div><div dir="auto">Yours, Junxiao<br><div class="gmail_extra" dir="auto"><br><div class="gmail_quote">On May 12, 2017 11:01 PM, "John Baugh" <<a href="mailto:jpbaugh@umich.edu">jpbaugh@umich.edu</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Greetings ndnSIM folks,<div><br></div><div>I have been working with a Strategy subclass in order to take advantage of the afterReceiveInterest method.  The documentation on ndnSIM's website seems to imply that <b>any time </b>an Interest arrives at a node, that afterReceiveInterest is called.</div><div><br></div><div>However, the <b>NFD Documentation </b>seems to imply that this method is only called <b><i>if the Content Store cannot satisfy the Interest</i>.</b>  In other words, if the Interest is satisfied by the CS, this method will not be invoked.</div><div><br></div><div>1.  Can someone tell me which of these is true?</div><div><br></div><div>2.  Is there any method in any class that is invoked <b>ANY TIME </b>an Interest arrives (whether or not the CS can satisfy it or for any other reason)?</div><div><br></div><div><br></div><div>Thanks,</div><div><br></div><div>John</div></div></blockquote></div></div></div></div>