<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; "><div>Hi Wali,</div><div><br></div><div>In the available reference applications, such as ConsumerCbr, it is assumed that each Interest requesting a unique piece of content object.  This uniqueness is achieved by adding a sequence number to the end of the configured prefix.</div><div><br></div><div>This request pattern can be interpreted in many other ways. For example Saeid's example can be considered as a series of Interests for one big file, which is split into 250 content objects.</div><div><br></div><div>I'm not entirely sure why you're saying that "...we cannot have very large objects which will be requested with multiple interest packets and satisfied with corresponding data packets..."  Each interest corresponds to one content object.   Which sequence numbers represent a particular data can be totally independent.  </div><div><br></div><div>In addition, if you have specific needs, you can always write a custom application, as explained here <a href="http://ndnsim.net/applications.html#custom-applications">http://ndnsim.net/applications.html#custom-applications</a>, which gives you a full control over what will be in requests (Interests) and what will be in replies (ContentObjects).  </div><div><br></div><div>Sincerely,</div><div>Alex</div><div><br></div><div>PS</div><div><br></div><div>Recently a lot of things got renamed, so the code that Saeid gave would look a little bit differently:</div><div><br></div>std::string prefix = "/prefix";<br><br>ndn::AppHelper consumerHelper ("ns3::ndn::ConsumerCbr");<br>consumerHelper.SetPrefix (prefix);<br>consumerHelper.SetAttribute ("Frequency", StringValue ("10")); // 10 interests a second<br>consumerHelper.SetAttribute ("MaxSeq", StringValue("250")); <div><br></div><div><br></div><div><br><div><div>On Dec 28, 2012, at 1:42 AM, Saeid Montazeri <<a href="mailto:saeid.montazeri@gmail.com">saeid.montazeri@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi Wali,<br><br>I have a little bit experience in ndnSIM. <br><br>Alex please correct me if I am wrong.<br><br>You can have a content with several packets by setting MaxSeq attribute of CcnxAppHelper class.<br>For example I have added the bold line bellow to the code in ndn-grid.cc. By the line, I asked CcnxAllHelper to generate Interest for 250 Data packets of the content with name "/prefix". ("/prefix/0", "/prefix/1", .. "/prefix/249")<br>
<br>
std::string prefix = "/prefix";<br><br>CcnxAppHelper consumerHelper ("ns3::CcnxConsumerCbr");<br>consumerHelper.SetPrefix (prefix);<br>consumerHelper.SetAttribute ("Frequency", StringValue ("10")); // 10 interests a second<br>

<i><b>consumerHelper.SetAttribute ("MaxSeq", StringValue("250")); </b></i><br><br><br>Best Regards,<br>Saeid<br><br><br><div class="gmail_quote">On Fri, Dec 28, 2012 at 4:37 PM, Wali <span dir="ltr"><<a href="mailto:ahmed.waliullah.kazi@gmail.com" target="_blank">ahmed.waliullah.kazi@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 Alex,<div><br></div><div>I was skimming through the ndnSIIM documentation. I did not find reference to any notion of segmentation. Is the present implementation following the simple model of one interest packet for one object, which is satisfied by one data packet? Hence, presently, we cannot have very large objects which will be requested with multiple interest packets and satisfied with corresponding data packets? </div>


<div><br></div><div>Thank you very much for your time.</div><div><br></div><div>Best regards,<br>Wali.</div>
<br>_______________________________________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
<br></blockquote></div><br>
_______________________________________________<br>ndnSIM mailing list<br><a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim<br></blockquote></div><br></div></body></html>