[ndnSIM] Getting content store size from inside a Strategy

lahmer ilyas ilyaslahmer93 at gmail.com
Mon Mar 13 00:27:12 PDT 2017


Each strategy holds a reference to the forwarder but it is declared as private in strategy.hpp. you can set it to be protected then m_forwarder.getCs().size(); I think that will do the trick but maybe there is a better way

⁣

Sent from BlueMail

​

On Mar 13, 2017, 6:04 AM, at 6:04 AM, John Baugh <jpbaugh at umich.edu> wrote:
>Greetings,
>
>Is there a way the Strategy can known what the size of the Cs is
>easily?
>
>Using ndnSIM 2.3 here.
>
>Thanks,
>
>John
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>ndnSIM mailing list
>ndnSIM at lists.cs.ucla.edu
>http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20170313/a95d2d42/attachment.html>


More information about the ndnSIM mailing list