<div dir="ltr">Greetings all,<div><br></div><div>I resolved many other issues, and now I'm come to a bit of a concern regarding the forwarder class.</div><div><br></div><div>I have been recompiling the Forwarder class, with some modifications to onIncomingInterest (actually, it just calls another method I wrote, and that method calls the method of a shared object called PopMan->recordInterestStats(inFace, interest))</div><div><br></div><div>So here's what I originally understood:</div><div><br></div><div><ul><li>If an interest arrives at a <b>node</b>, the Forwarder's onIncomingInterest (I think indirectly through startProcessInterest, at least) is called automatically <b>every </b>time any interest arrives</li></ul><div>The behavior I'm observing is:</div></div><div><ul><li>If an interest is about to be <b>forwarded</b>, then Forwarder's onIncomingInterest is called</li></ul><div>Now, I realize the name "Forwarder" might have been a clue...  but I was under the impression that this class sensed <b>all incoming interests to the node</b>, not just ones that are to be forwarded.</div></div><div><br></div><div>1.  Please confirm the behavior of this method</div><div><br></div><div>2.  If I'm right, <b>is there any way </b>to detect when an interest arrives at a node (not when the interest is to be forwarded, or cached, etc. - but EVERY TIME an interest arrives at a particular node.</div><div><br></div><div>I had previously spent several weeks before working with the Strategy class, thinking afterReceiveInterest was called every time an interest was received at a node...  it turned out I was wrong.</div><div><br></div><div>I was told (I think?) that I needed to override Forwarder's methods instead.  So I did.</div><div><br></div><div>I've learned a lot, don't get me wrong.  I just am not getting the behavior I expect, and I'm starting to become extremely concerned that I've gone down the wrong path... again.</div><div><br></div><div>Thoughts?</div><div><br></div><div>Thanks,</div><div><br></div><div>John</div></div>