[ndnSIM] Policy class knowing about interests?
shijunxiao at email.arizona.edu
Mon May 1 00:33:33 PDT 2017
When an incoming Interest hits a cached Data, the CS policy is informed of
a "use" of an entry in beforeUse signal.
On Sun, Apr 30, 2017 at 8:22 PM, John Baugh <jpbaugh at umich.edu> wrote:
> If I understand correctly, the *Strategy *class is the only one that
> knows when an interest arrives (afterReceiveInterest method specifically.)
> And the *Policy *class is what determines what is cached and/or removed
> from the cache.
> So, *what if the Policy wanted information about the frequency of
> The way I'm trying to make this work is with an intermediary class
> allowing for some level of communication between the custom derived (sub)
> classes of Strategy and Policy that I've written.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM