<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">this is the way to decode a data packet:</div><div class=""><br class=""></div><div class=""><a href="https://github.com/named-data-ndnSIM/ndn-cxx/blob/ndn-cxx-0.3.4-ndnSIM/src/data.cpp#L135" class="">https://github.com/named-data-ndnSIM/ndn-cxx/blob/ndn-cxx-0.3.4-ndnSIM/src/data.cpp#L135</a></div><div class=""><br class=""></div><div class="">These are the callbacks to invoke in order to send Interest and Data packets:</div><div class=""><br class=""></div><div class=""><a href="https://github.com/named-data-ndnSIM/ndnSIM/blob/master/apps/ndn-consumer.cpp#L202" class="">https://github.com/named-data-ndnSIM/ndnSIM/blob/master/apps/ndn-consumer.cpp#L202</a></div><div class=""><a href="https://github.com/named-data-ndnSIM/ndnSIM/blob/master/apps/ndn-producer.cpp#L131" class="">https://github.com/named-data-ndnSIM/ndnSIM/blob/master/apps/ndn-producer.cpp#L131</a></div><div class=""><br class=""></div><div class="">Hope that this helps,</div><div class=""><br class=""><div class="">
<div class=""><div class=""><div class=""><span class="" style="float: none; display: inline !important;">Spyridon (Spyros) Mastorakis</span><br class=""><span class="" style="float: none; display: inline !important;">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" class="">http://cs.ucla.edu/~mastorakis/</a><br class=""><span class="" style="float: none; display: inline !important;">Internet Research Laboratory</span><br class=""><span class="" style="float: none; display: inline !important;">Computer Science Department</span><br class=""><span class="" style="float: none; display: inline !important;">UCLA</span></div></div></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Dec 19, 2016, at 1:56 PM, Aniket Yeole <<a href="mailto:anikety97@gmail.com" class="">anikety97@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div style="font-size:12.8px" class=""><div class=""><div class=""><div class=""><div class="">Hi Spyridon and ndnsim team<br class=""><br class=""></div>Thankyou for the advise but can you elaborate it more, the process of sending Interest and fetch the data from other nodes ?? <br class=""></div>and how to decode the data content ? <br class=""><br class=""></div>Can you share some small example for reference or something that I can refer ?<br class=""><br class=""></div>Regards,<br class=""><br class=""></div><span style="font-size:12.8px" class="">Aniket</span><br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On 15 December 2016 at 22:50, Spyridon (Spyros) Mastorakis <span dir="ltr" class=""><<a href="mailto:mastorakis@cs.ucla.edu" target="_blank" class="">mastorakis@cs.ucla.edu</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Hi,<div class=""><br class=""></div><div class="">you could create your own applications (producers and consumers). The monitoring node can act as a consumer that sends Interests and fetches the data of your interest from the rest of the nodes (producers). After that, you will have to decode the data content and store it in the way that you like.</div><div class=""><br class=""></div><div class="">Hope that this helps,</div><div class=""><br class=""><div class="">
<div class=""><div class=""><div class=""><span style="float:none;display:inline!important" class="">Spyridon (Spyros) Mastorakis</span><br class=""><span style="float:none;display:inline!important" class="">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" target="_blank" class="">http://cs.ucla.edu/~<wbr class="">mastorakis/</a><br class=""><span style="float:none;display:inline!important" class="">Internet Research Laboratory</span><br class=""><span style="float:none;display:inline!important" class="">Computer Science Department</span><br class=""><span style="float:none;display:inline!important" class="">UCLA</span></div></div></div>
</div><div class=""><div class="h5">
<br class=""><div class=""><blockquote type="cite" class=""><div class="">On Dec 15, 2016, at 2:33 PM, Aniket Yeole <<a href="mailto:anikety97@gmail.com" target="_blank" class="">anikety97@gmail.com</a>> wrote:</div><br class="m_-4696498687017478525Apple-interchange-newline"><div class=""><div dir="ltr" class="">Greetings all,<div class=""><br class=""></div><div class="">I am trying to create monitoring node or entity so that I can get the monitoring info of other nodes (like PIT, CS, FIB) on that node. I gone through some example in ndnsim like (<span style="color:rgb(64,128,144);font-style:italic;font-size:12px" class="">ndn-tree-tracers.cpp - </span><font color="#408090" class=""><span style="font-size:12px" class=""><i class=""><a href="http://ndnsim.net/2.1/metric.html" target="_blank" class="">http://ndnsim.net/2.1/metric<wbr class="">.html</a>). </i></span></font>The tracers saves statistical information in .txt format can this be used as monitoring information or are there other methods available to do so?? </div><div class=""><br class=""></div><div class="">From the examples on tracers I made changes in topology and added one more node for monitoring purpose. Now how can I transfer the different tables like PIT and content storage of all the network to this monitoring node?. </div><div class=""><br class=""></div><div class="">I wanted to know how to give a particular node a monitoring capabilities (like there are producers and consumers are there any monitors which are mentioned in doxygen of ndnsim?)</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Please guide me <br class=""></div><div class=""><br class=""></div><div class="">Regards,</div><div class="">Aniket Yeole</div></div></div></blockquote></div><br class=""></div></div></div></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></body></html>