[ndnSIM] afterReceiveInterest in Strategy subclass
John Baugh
jpbaugh at umich.edu
Sat May 13 22:01:03 PDT 2017
Junxiao,
Just so I'm entirely clear:
1.) If I create an installation of ndnSIM in a separate directory, and
modify the actual Forwarder class, this is primarily what you're talking
about?
2.) Do I just re-run the ./waf commands again? Will that take care of the
appropriate recompilation of the modified Forwarder class (and/or is there
an easier way? Can I get away with just running g++ on the forwarder
file? I'm guessing not...)
Thanks,
John
On Sun, May 14, 2017 at 12:44 AM, Junxiao Shi <shijunxiao at email.arizona.edu>
wrote:
> Hi John
>
> You'll have to fork ndnSIM repository, and modify ndnSIM package itself.
> There is no way to override the Forwarder without forking the entire ndnSIM.
> This is a fundamental limitation of ndnSIM v2, caused by the desire of
> reusing the same codebase in ndnSIM and NFD.
>
> Yours, Junxiao
>
> On Sat, May 13, 2017 at 11:33 AM, John Baugh <jpbaugh at umich.edu> wrote:
>
>> So, if I want to gather information about ALL incoming interests in order
>> to maintain data about them, what must I do?
>>
>> Do I subclass the Forwarder class? If so, how do I ensure that my new
>> Forwarder subclass is used? And, would this require subclassing the
>> Strategy class as well?
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20170514/5deb124c/attachment-0001.html>
More information about the ndnSIM
mailing list