<div dir="ltr">Also:<div><br></div><div>I'm aware of the getStrategy() member function in the StrategyChoiceHelper.  It returns a Name object, not a Strategy object.</div><div><br></div><div>Obviously, the strategy would be for a particular node.  I need it for my router node.</div><div><br></div><div>If you have an alternative to this, I'd be very happy to entertain the idea.  If there was a different "afterReceiveInterest" somewhere else, I would be very pleased to use it, but I apparently need the one in the Strategy.  </div><div><br></div><div>Thanks,</div><div><br></div><div>John</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jan 14, 2017 at 10:42 PM, John Baugh <span dir="ltr"><<a href="mailto:jpbaugh@umich.edu" target="_blank">jpbaugh@umich.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Greetings ndnSIM friends,<div><br></div><div>I need a way to communicate between the Strategy and Policy subclasses.  I am creating a custom Strategy, and a custom Policy subclass.  I need information about the interests coming in, which will affect decisions that the Policy makes.  So, it stands to reason that I will need some sort of communication between the two.</div><div><br></div><div>To do this, my idea is to obtain a reference/pointer to each, and then to have a custom method in one (or both) of the classes to setStrategy or setPolicy so that I can maintain an internal reference (using aggregation.)  </div><div><br></div><div>So, for the Policy, I can call getPolicy on the Content Store.</div><div><br></div><div>But what about the Strategy object?  Is there a way to obtain this?</div><div><br></div><div>Either way it seems I'd need a reference to both.</div><div><br></div><div>Thanks,</div><div><br></div><div>John</div></div>
</blockquote></div><br></div>