[ndnSIM] Interest Extension

Alex Afanasyev alexander.afanasyev at ucla.edu
Wed Dec 18 13:16:21 PST 2013

Hi Narjes,

It depends on the level of the extension you want to achieve.  If the existing nack field is sufficient for you (and you're not using it for anything else), then you can just redefine its meaning.

Otherwise, you can do similar thing what Andriana did (check out the other thread): update ndn::Interest abstraction and update wire format generation/parsing.  Extending Interest class wouldn't work, since it would involve considerable changes in the code.


On Dec 17, 2013, at 5:42 AM, narjes aloulou <aloulounarjes at yahoo.fr> wrote:

> Hi Alex and ndn-sim users,
> I want to add a field in the Interest, however this field may be sometimes empty.
> So, I must use another class that extends « Interest » class or I just add a new NackType ?
> Thanks
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20131218/6f245ddd/attachment.html>

More information about the ndnSIM mailing list