<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" id="owaParaStyle" style="display: none;">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body dir="ltr" fpstyle="1" aria-label="Message body" tabindex="0">
<div name="divtagdefaultwrapper" id="divtagdefaultwrapper" style="font-family: Calibri,Arial,Helvetica,sans-serif; font-size: 12pt; color: #000000; margin: 0">
Hi Alex,
<div><br>
</div>
<div>To write a policy which file should I refer to. I noticed the ContentStore implementation in */model/ cs folder and policy file in */utils/ trie folder.</div>
<div>Could you suggest me good way to start to create a new policy.</div>
<div><br>
</div>
<div>Many thanks,</div>
<div>Isuru</div>
<div><br>
<div style="color: rgb(40, 40, 40);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Alexander Afanasyev <cawka1@gmail.com> on behalf of Alex Afanasyev <alexander.afanasyev@ucla.edu><br>
<b>Sent:</b> 14 November 2013 16:07<br>
<b>To:</b> Liyanage IU Mr (PG/R - Electronic Eng)<br>
<b>Cc:</b> ndnsim@lists.cs.ucla.edu<br>
<b>Subject:</b> Re: [ndnSIM] Content Store data manipulation</font>
<div> </div>
</div>
<div>Hi Isuru,
<div><br>
</div>
<div>Since ContentStore is property of the forwarding daemon, there is no application interface to directly manage (add/remove) entries.  You can have full control over the cache content if you write a so-called policy, but this will not be application.</div>
<div><br>
</div>
<div>---</div>
<div>Alex</div>
<div><br>
<div>
<div>On Nov 14, 2013, at 3:25 AM, <a href="mailto:i.liyanage@surrey.ac.uk">i.liyanage@surrey.ac.uk</a> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div dir="ltr" tabindex="0" style="font-family:Menlo-Regular; font-size:14px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px">
<div name="divtagdefaultwrapper" id="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; margin:0px">
Hi,
<div><br>
</div>
<div>Is it possible to add/remove Content Store entries using a application on a node.</div>
<div>If it is what methods should I use.</div>
<div><br>
</div>
<div>many thanks,</div>
<div>Isuru</div>
</div>
_______________________________________________<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">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a></div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</body>
</html>