[ndnSIM] afterReceiveInterest in Strategy subclass

Junxiao Shi shijunxiao at email.arizona.edu
Sat May 13 21:44:45 PDT 2017


 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/20170513/58cca9ce/attachment.html>


More information about the ndnSIM mailing list