[ndnSIM] How to get data stored into the CS

Spyridon (Spyros) Mastorakis spiros.mastorakis at gmail.com
Mon Jun 8 08:16:15 PDT 2015


Hi Imen,

I would suggest that you use the find method instead (it is the highest level API call that we have) in a way similar to the one shown here:

https://github.com/NDN-Routing/ndnSIM/blob/master/NFD/daemon/fw/forwarder.cpp#L99-L102

Please let me know if you need any further help.

--
Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/
Internet Research Laboratory
PhD Computer Science
UCLA




> On Jun 8, 2015, at 2:49 AM, Dhiab Imen <dhiabimen at gmail.com> wrote:
> 
> Hi,
> I want to get the data stored into the CS.I'm using ndnSim 2.0 and I found a method called getData in the class ndn-contentStore.cpp.
> 
> http://ndnsim.net/2.0/doxygen/classns3_1_1ndn_1_1cs_1_1Entry.html
> 
> How can I use this method to getData.
> thnx a lot for help.
> 
> -- 
> Cordialement 
> Imen Dhiab
> 
> ***************************************************************************************************
> Ingénieur Informatique diplômé de l'Ecole Nationale d'Ingénieurs de Sfax.
> Membre de l'unité de recherche SAGE (Systèmes Avancés en Génie Electrique), Ecole Nationale d'Ingénieurs de Sousse.
> +216 53 59 19 88
> Pages personnelles : http://www.sage-eniso.org/profile-membre/fr/T/85/dhiab-imene.html
> ***************************************************************************************************
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim





More information about the ndnSIM mailing list