[ndnSIM] Custom Strategy - destructor is called 4 times?
John Baugh
jpbaugh at umich.EDU
Sun Mar 12 21:23:05 PDT 2017
Hello all,
Just out of curiosity, I implemented a custom Strategy, called PStrat, and
wrote a destructor. Inside of this method, I wrote a simple cout statement
to indicate it was being called.
Now, I'm getting it called 4 times it seems.
PStrat is being set on a single node (I'm using as a router), using the
Install method of the StrategyChoiceHelper in my scenario.
*ndn::StrategyChoiceHelper::Install<nfd::fw::PStrat>(nodes.Get(2),
ndn::Name("/prefix"));*
Thoughts?
Thanks,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20170313/14c037a6/attachment.html>
More information about the ndnSIM
mailing list