<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks Xiaoyan!<div><br></div><div>I just want to add two links that provide additional information:</div><div><br></div><div>1. Basic usage of the helper <a href="http://ndnsim.net/helpers.html#forwarding-strategy">http://ndnsim.net/helpers.html#forwarding-strategy</a></div><div><br></div><div>2. SetForwardingStrategy method specification: <a href="http://ndnsim.net/doxygen/classns3_1_1ndn_1_1_stack_helper.html#a690d7eabecb40df75f9dba29c117fceb">http://ndnsim.net/doxygen/classns3_1_1ndn_1_1_stack_helper.html#a690d7eabecb40df75f9dba29c117fceb</a></div><div><br></div><div>---</div><div>Alex</div><div><br><div><div>On Sep 24, 2013, at 7:43 PM, Xiao yan Hu <<a href="mailto:xhbreezehu@gmail.com">xhbreezehu@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><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><br></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: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto; ">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></div></blockquote></div><br></div></body></html>