[ndnSIM] How to Change Interest name in m_table on Cs.cpp NFD
shijunxiao at email.arizona.edu
Fri Mar 29 03:54:41 PDT 2019
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.
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM