[ndnSIM] Send Data from NFD to Scenario

Spyridon (Spyros) Mastorakis spiros.mastorakis at gmail.com
Sat Feb 28 18:42:57 PST 2015

Hi Cesar,

I am not sure that I have fully understand what you want to do and its purpose. However, I can clarify that the StrategyChoiceHelper sends special signed Interest commands to the Strategy Choice Manager of NFD in order to define the desired strategy for a specific namespace. For more info, you take a look here:


For the second part of the question, let me clarify that your scenario should define all the desired parameters and then just be simulated. Again, I have not fully understand what you would like to do, but probably it would be useful for you to use signals to trigger events:


Hope that this helps.

Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/
Internet Research Laboratory
PhD Computer Science

> On Feb 28, 2015, at 6:19 PM, Cesar Ghali <cghali at uci.edu> wrote:
> Hi all,
> I was checking how StrategyChoiceHelper::InstallAll sets the selected forwarding strategy. It looks like a command is send to the node in question with all needed parameters. What I’m trying to do, is to have something similar to TracedCallBack that a specific strategy invokes and my scenario implements. I don’t think this can be done using the old fashion TracedCallBack though.
> One way to do it, is to modify the command that is sent to the node to include a pointer to the function that will be invoked (I still need to figure out how to do this.) Is there a better way to do this?
> Thanks for the help,
> Cesar
> -- 
> PGP Key: http://www.cesarghali.info/contact.html
> PGP Key ID: 0x455D8052
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim

More information about the ndnSIM mailing list