[ndnSIM] How to access custom application (extended from ns3::ndn::app) from strategy

中村真也 nakamura at c.info.eng.osaka-cu.ac.jp
Wed Jan 31 04:46:10 PST 2018


Hi all.

I could access to forwarder from Application but...
I want to access to the application from NFD strategy layer.
I create one application (custom App) that inherits from ns3::ndn::app
class.(also, ns3::ndn::application inherits from ns3::application).
>From NFD strategy layer, I want to access to one application method.

By giving forwarder itself nodeID, I tried to access to app. However it is
failed.
ns3::NodeList::GetNode(m_forwarder->m_nodeId)->GetApplication(0);

is there good way to access one application?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20180131/a1e8adc4/attachment.html>


More information about the ndnSIM mailing list