[ndnSIM] doAfterInsert in Policy, and afterReceiveInterest in Strategy classes
jpbaugh at umich.edu
Mon May 8 17:39:11 PDT 2017
If anyone has any ideas about these issues, it'd be greatly appreciated to
hear some feedback.
On Mon, May 8, 2017 at 12:41 AM, John Baugh <jpbaugh at umich.edu> wrote:
> Greetings all,
> I have a few questions, as I'm experiencing a strange issue where
> doAfterInsert appears to only be being called once. I'm just using a
> simple test to see when this doAfterInsert is called, and I'm *printing
> the it->getData().getName()* to file.
> *GitHub repo is here: https://github.com/profjpbaugh/ndnSIM-strategy1
> Note that all code that I'm really interested in are in:
> - extensions/pop_man2
> - scenarios/jpb-pop2.cpp
> 1. Shouldn't the Name returned by the iterator parameter to
> doAfterInsert, *it* have Data with a name that matches something that was
> requested? (from an Interest)?
> I'm getting something extremely peculiar, see:
> I *think *this is some type of forwarding / strategy information
> 2. Why is my CS not caching anything? In fact, per Question (1), why is
> it that doAfterInsert is never being called?
> 3. Does there appear to be anything with my producer or consumer usage
> in jpb-pop2?
> Something that seems like it should be simple has really turned into a
> massive headache.
> Thanks for any help you can provide!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM