<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">thanks for reply.<div class=""><br class=""></div><div class="">OK, I’ll try with original data structure.</div><div class=""><br class=""></div><div class="">sorry I intend to access to application from strategy instance if this node.</div><div class=""> <br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">--------------------------------------------------- <br class="">大阪市立大学 工学部 電子情報系専攻<br class="">情報通信領域 M1<br class="">中村 真也(Masaya Nakamura )<br class=""><a href="mailto:nakamura@c.info.eng.osaka-cu.ac.jp" class="">nakamura@c.info.eng.osaka-cu.ac.jp</a> <br class="">---------------------------------------------------<br class=""><br class=""></div></div></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">2018/01/12 6:09、Spyridon (Spyros) Mastorakis <<a href="mailto:mastorakis@cs.ucla.edu" class="">mastorakis@cs.ucla.edu</a>>のメール:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi,<br class=""><br class=""><blockquote type="cite" class="">On Jan 11, 2018, at 1:55 AM, 中村真也 <<a href="mailto:nakamura@c.info.eng.osaka-cu.ac.jp" class="">nakamura@c.info.eng.osaka-cu.ac.jp</a>> wrote:<br class=""><br class="">Thanks a lot.<br class=""><br class="">I has succeeded these implementation.<br class="">So, I got another problems about ndnSIM.<br class="">scenario is described below.<br class=""><br class="">NFD want ot know the popular interest name table (it is possible with the measurement table?)<br class=""></blockquote><br class="">You can either use the measurement table (not sure if there are some further restrictions that will not allow you to do so) or some other data structure (if it is a better fit for what you would like to do).<br class=""><br class=""><blockquote type="cite" class="">And, want to know that which this popular interest name is popular around this node (within N hops)<br class="">Then NFD notify this infomation of producer application of this node.<br class=""><br class="">I think this is achieved by  “communication from NFD strategy to application”.<br class=""></blockquote><br class="">Your application will need to get access to the forwarder and strategy instance of this node. You can probably do something like the following to make things work (not sure if this exact code snippet compiles — please verify that it actually works):<br class=""><br class="">// Get the node by name<br class="">ns3::Ptr<ns3::Node> node = ns3::Names::Find<ns3::Node>(“name-of-the-node”);<br class="">// Get the forwarder instance of the node<br class="">auto forwarder = node->GetObject<ns3::ndn::L3Protocol>()->getForwarder());<br class=""><br class="">Hope that this helps,<br class=""><br class="">Spyridon (Spyros) Mastorakis<br class="">Personal Website: <a href="http://cs.ucla.edu/~mastorakis/" class="">http://cs.ucla.edu/~mastorakis/</a><br class="">Internet Research Laboratory<br class="">Computer Science Department<br class="">UCLA<br class=""><br class=""><br class=""><br class=""><br class=""></div></div></blockquote></div><br class=""></div></body></html>