[ndnSIM] How to Change Interest name in m_table on Cs.cpp NFD

Junxiao Shi shijunxiao at email.arizona.edu
Fri Mar 29 03:54:41 PDT 2019

Hi Adi

CS iterator name refers to Data name, not Interest name.

One of the NDN design principles is Data Immutability.
Content Store or any other parts of the forwarder cannot change Data name
or any other part of the Data.

To change Data name, you have to do so at the producer.
Make sire the Data still satisfies the Interest.

Yours, Junxiao

On Fri, Mar 29, 2019 at 04:47 <mdparamartha95 at students.itb.ac.id> wrote:

> Hello everyone,
> I'm would like to ask about how to change the interest name or prefix name
> of iterator in cs.cpp NFD.
> I'm would like to change the content name in* it->getName()* when
> emitSignal executed..
> I'm only want to change the content name, without changing any other
> metadata of the content.
> I'm trying using setName() function from data.cpp, but it wont working.
> Could someone help me or give some advice about how to change content name
> in m_table(iterator) in NFD cs.cpp  ?
> Thank You
> Best Regards,
> Adi Paramartha
> _______________________________________________
> 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/20190329/80415cc6/attachment.html>

More information about the ndnSIM mailing list