<div dir="ltr"><div><div><div><div>Hello, Tendo.<br><br></div><div>You can use Data::setFreshnessPeriod to set the freshness period of the Data. <br>But generally, there is not a thing called lifetime in CS. I think you may have to write a CS yourself to do so.<br></div></div>The existing CS policies do not delete items. They only replace an old one with the new one, when a new data packet comes.<br><br></div>Best wishes,<br></div>Xinyu Ma.<br><div class="gmail_extra"><br><div class="gmail_quote">2018-04-03 20:05 GMT+09:00 dystopia_P <span dir="ltr"><<a href="mailto:409967734@qq.com" target="_blank">409967734@qq.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><pre><i>Hi all,</i><i>
</i><i>Really happy to join the ndnSIM mailing list.
</i><i>It's my honour to discuss some problems with you.</i><i>
</i><i>Hope everyone have fun with ndnSIM.
</i><i>I have some problems in my reserch about NDNsim.</i></pre><pre><i>In ordinary circumstances,every data packet will be cached in CS .And each of them has a lifetime.</i></pre><pre><i>how can i get or set lifetime of each data packet in CS?</i></pre><pre><i>i can't find any </i></pre><pre><i>Best regards,
</i><i>Tendo</i></pre><pre><i><br></i></pre><br>______________________________<wbr>_________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/<wbr>mailman/listinfo/ndnsim</a><br>
<br></blockquote></div><br></div></div>