[ndnSIM] Interest Extension
alexander.afanasyev at ucla.edu
Wed Dec 18 13:16:21 PST 2013
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 ?
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM