[ndnSIM] how can I get received data time?

Spyridon (Spyros) Mastorakis spiros.mastorakis at gmail.com
Sun Mar 22 23:02:57 PDT 2015


Hello,

there are some calls of a method “dispatchToStrategy" in forwarder.cpp. This method will find and call the right forwarding strategy. You can pass your variables as arguments to this method.

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




> On Mar 22, 2015, at 10:51 PM, 최원준 <wonjunchoi001 at gmail.com> wrote:
> 
> Hello.
> 
> I declared two variables in forwarder.hpp
> 
> forwarder.hpp
> 207 private:
> 208   time::steady_clock::TimePoint IStime;      // Sent Interest time                                                         
> 209   time::steady_clock::TimePoint DRtime;     // Received Data time.
> 
> how can I get those values in best-route-strategy.cpp?
> I hope someone can give an example.
> 
> Best regards.
> Wonjun, Choi
> _______________________________________________
> 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