[ndnSIM] Query about Find() function

Spyridon (Spyros) Mastorakis spiros.mastorakis at gmail.com
Fri Jul 17 14:32:27 PDT 2015


one way to do that is to create a method with functionality similar to the “nfd::Cs::find()” method, which will accept a name as the input argument. Then, you can imitate the part of the functionality that you need as provided in the current find method. You can take a look here:


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

> On Jul 16, 2015, at 5:23 PM, Biozid Bostami <biozid at outlook.com> wrote:
> hello everyone,
> First, i thanks everyone who has been replying my previously asked question , i wouldn't have come this far without their help. In response to my previously asked question i encounter a new problem that is : I need to call the ""nfd::Cs::find()"" to check all the attached nodes if they have already cached the same data or not before inserting the data in the ""policy_container"". 
> But, this method needs an "Interest"  as it's parameter. I tried to pass  the Data by calling "" item->payload ()->GetData() "" still it gives the error. So, can anyone help me out if this problem.  
> yours faithfully,
> Biozid Bostami 
> _______________________________________________
> 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