<div dir="ltr"><div><div><div>Hi Guys,<br><br></div>FYI<br><br>[10:31:22 AM] Xiaoyan Hu: Hi Alex :) <br>[10:31:52 AM] Xiaoyan Hu: would you pls tell me how to set Atrribute for Forwarding stategy<br>[10:32:14 AM] Alex Afanasyev: the ndn stack helper has method   SetForwardingStrategy<br>
[10:32:48 AM] Alex Afanasyev: this method as a first parameter takes name of the forwarding strategy class, and the rest are pairs of parameters specifying name of the attribute and value of the attribute<br>[10:33:09 AM] Xiaoyan Hu: how to set "CacheUnsolicitedData" Attribute<br>
[10:33:19 AM] Alex Afanasyev: ndn::StackHelper helper;<br>[10:33:44 AM] Alex Afanasyev: helper.SetForwardingStrategy ("ns3::ndn::fw::BestRoute", "CacheUnsolicitedData", "true")<br><br><br></div>
Thanks,<br></div>Xiaoyan<br><div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Sep 24, 2013 at 9:36 PM, Xiao yan Hu <span dir="ltr"><<a href="mailto:xhbreezehu@gmail.com" target="_blank">xhbreezehu@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi guys.<br>
<br>
Do you have any idea about how to set attributes for forwarding<br>
strategy since there is no helper for forwarding strategy?<br>
<br>
Thanks,<br>
Xiaoyan<br>
</blockquote></div><br></div>