<div dir="ltr">Thank you Spyridon.<div><br></div><div>Yes, I was planning to implement custom function at AppHelper, eventually, I will go for it. but I was checking if there any other options available. However, Alex has suggested iterate over FIB which is also a good option. But, I will prefer better to store configured prefix information on node with application pointer/indexed.  So, there could be a scenario where many applications can be installed on same node. </div><div><br></div><div>I will let you know more once I implement it.</div><div><br></div><div>Cheer,</div><div>Hitesh </div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 25, 2015 at 1:23 PM, Spyridon (Spyros) Mastorakis <span dir="ltr"><<a href="mailto:spiros.mastorakis@gmail.com" target="_blank">spiros.mastorakis@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Hitesh,<br>
<br>
good question… I think that you can do using the AppHelper class defined in /helper/ndn-app-helper.cpp. You will have to create a “getPrefix” method to extract the prefix from the object instance of NS3. Then, you can simply aggregate this object with the node object and call the “getPrefix" method, whenever you want, in order to extract the prefix. I think that this applies both to producers and consumers. :)<br>
<br>
Hope this helps.<br>
<br>
--<br>
Spyridon (Spyros) Mastorakis<br>
Personal Website: <a href="http://cs.ucla.edu/~mastorakis/" target="_blank">http://cs.ucla.edu/~mastorakis/</a><br>
Internet Research Laboratory<br>
PhD Computer Science<br>
UCLA<br>
<div><div class="h5"><br>
> On Feb 25, 2015, at 9:28 AM, Hitesh Wadekar <<a href="mailto:wadekahn@clarkson.edu">wadekahn@clarkson.edu</a>> wrote:<br>
><br>
> Hey Guys,<br>
><br>
> How can I get all the installed prefix information on a node from application? For instance, I have a node object and I want to iterate all the prefix configured for the installed application on that node.<br>
><br>
> Thanks<br>
><br>
> Cheer,<br>
> Hitesh<br>
</div></div>> _______________________________________________<br>
> ndnSIM mailing list<br>
> <a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>
> <a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
<br>
<br>
<br>
<br>
<br>
</blockquote></div><br></div>