<div dir="ltr"><div>Dear Junxiao,</div><div>Thanks for your reply. However, may I know how to just get the name of data that the is requested by consumers.</div><div>Thanks</div><div>Best regards</div></div><br><div class="gmail_quote"><div class="gmail_attr" dir="ltr">On Thu, Nov 28, 2019 at 8:18 PM Junxiao Shi <<a href="mailto:shijunxiao@email.arizona.edu">shijunxiao@email.arizona.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div><div dir="auto">Hi Zeinab</div></div><div dir="auto"><br></div><div dir="auto"><span style="color:rgb(49,49,49);word-spacing:1px">/localhost/nfd/faces/</span><span style="color:rgb(49,49,49);word-spacing:1px">events/%FE%02 is indeed a Data packet stored in the CS.</span><br></div><div dir="auto"><span style="color:rgb(49,49,49);word-spacing:1px">It’s created by face management <div><a href="https://redmine.named-data.net/projects/nfd/wiki/FaceMgmt#Face-Status-Change-Notification" target="_blank">https://redmine.named-data.net/projects/nfd/wiki/FaceMgmt#Face-Status-Change-Notification</a></div><div dir="auto"><br></div><div dir="auto">Yours, Junxiao</div></span></div><div><br><div class="gmail_quote"><div class="gmail_attr" dir="ltr">On Thu, Nov 28, 2019 at 00:39 Zeinab Rezaiefar via ndnSIM <<a href="mailto:ndnsim@lists.cs.ucla.edu" target="_blank">ndnsim@lists.cs.ucla.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hello,</div><div>I would like to get name of content that are stored in the cache in forward.cpp so I wrote the below lines:</div><div>for(ns3::Ptr<ns3::ndn::cs::Entry> csentry= m_csFromNdnSim->Begin(); csentry!= m_csFromNdnSim->End(); csentry=m_csFromNdnSim->Next(csentry))<br>{<br>std::cout<<"the name"<<csentry->GetName()<<"is stored in  node with id"<<node->GetId()<<"\n";<br><br>}</div><div><br></div><div>However, I notice this not only gives prefix that stored but also gives some event such as :</div><div>the name/localhost/nfd/faces/events/%FE%02is stored in node with id3</div><div><br></div><div>what is the reason. how I can just access just the name of contents that are stored.</div><div>I will appreciate any help</div><div>best regards</div><div>Zeinab</div></div></div></div>
_______________________________________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank" rel="noreferrer">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
</blockquote></div></div>
</blockquote></div>