[ndnSIM] delayed producer and adding face dynamically

中村真也 nakamura at c.info.eng.osaka-cu.ac.jp
Thu Jan 11 20:21:08 PST 2018


thanks for reply.

OK, I’ll try with original data structure.

sorry I intend to access to application from strategy instance if this node.
 
--------------------------------------------------- 
大阪市立大学 工学部 電子情報系専攻
情報通信領域 M1
中村 真也(Masaya Nakamura )
nakamura at c.info.eng.osaka-cu.ac.jp 
---------------------------------------------------


> 2018/01/12 6:09、Spyridon (Spyros) Mastorakis <mastorakis at cs.ucla.edu>のメール:
> 
> Hi,
> 
>> On Jan 11, 2018, at 1:55 AM, 中村真也 <nakamura at c.info.eng.osaka-cu.ac.jp> wrote:
>> 
>> Thanks a lot.
>> 
>> I has succeeded these implementation.
>> So, I got another problems about ndnSIM.
>> scenario is described below.
>> 
>> NFD want ot know the popular interest name table (it is possible with the measurement table?)
> 
> 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).
> 
>> And, want to know that which this popular interest name is popular around this node (within N hops)
>> Then NFD notify this infomation of producer application of this node.
>> 
>> I think this is achieved by  “communication from NFD strategy to application”.
> 
> 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):
> 
> // Get the node by name
> ns3::Ptr<ns3::Node> node = ns3::Names::Find<ns3::Node>(“name-of-the-node”);
> // Get the forwarder instance of the node
> auto forwarder = node->GetObject<ns3::ndn::L3Protocol>()->getForwarder());
> 
> Hope that this helps,
> 
> Spyridon (Spyros) Mastorakis
> Personal Website: http://cs.ucla.edu/~mastorakis/
> Internet Research Laboratory
> Computer Science Department
> UCLA
> 
> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20180112/5a0674f8/attachment-0001.html>


More information about the ndnSIM mailing list