<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Introducing an application to do that isn't really going to solve the problem.  If the /collect/arg1/arg2 interest was forwarded through a normal router then the result must be content under the /collect/arg1/arg2 name in order to be correctly returned.  If an application gets the interest and generates new and different interests then it will need to also coalesce the contents returned for the individual interests /arg1 and /arg2, and will become the publisher of the /collect/arg1/arg2 content to be returned to the original requester.  Schemes such as being proposed by Nakamura break the flow balance property of the protocol.<div class=""><br class=""></div><div class="">-- Nick Briggs<br class=""><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jul 7, 2017, at 7:59 AM, Junxiao Shi <<a href="mailto:shijunxiao@email.arizona.edu" class="">shijunxiao@email.arizona.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="auto" class=""><div class="">Hi 真也<br class=""><div class="gmail_extra" dir="auto"><br class=""></div><div class="gmail_extra" dir="auto">Strategy cannot inject new packets into the network. This is because strategy operates in the middle of forwarding. An Interest injected by strategy isn't recorded in the PIT, so the response Data cannot be delivered.</div><div class="gmail_extra" dir="auto"><br class=""></div><div class="gmail_extra" dir="auto">You can, however, forward /collect prefix to an application, and let that application send the new Interest.</div><div class="gmail_extra" dir="auto">If needed, the application is able to learn where the Interest comes from through IncomingFaceId header field, and control where the new Interest goes to through NextHopFaceId header field.</div><div class="gmail_extra" dir="auto">Both fields require enabling LocalField feature through faces/update management command.</div><div class="gmail_extra" dir="auto"><br class=""></div><div class="gmail_extra">Yours, Junxiao</div><div class="gmail_extra" dir="auto"><br class=""><div class="gmail_quote" dir="auto">On Jul 7, 2017 07:13, "中村真也" <<a href="mailto:nakamura@c.info.eng.osaka-cu.ac.jp" class="">nakamura@c.info.eng.osaka-cu.ac.jp</a>> wrote:<br type="attribution" class=""><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Dear ndn users.<div class=""><br class=""></div><div class="">I would like to ask how to send new Interest from strategy.</div><div class="">For example, when daemon receives Interest:/collect/arg1/arg2, I want to make daemon send Interest:/arg1, /arg2.</div><div class="">Now I uses NFD version 0.5.0. If it is easy to implement this with version 0.5.1, I will update NFD to 0.5.1</div><div class=""><br class=""></div><div class="">Best regards.</div><div class=""><div class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class=""><div style="word-wrap:break-word" class=""><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class="">------------------------------<wbr class="">--------------------- <br class="">中村 真也(Masaya Nakamura )<br class=""><a href="mailto:nakamura@c.info.eng.osaka-cu.ac.jp" target="_blank" class="">nakamura@c.info.eng.osaka-cu.<wbr class="">ac.jp</a> <br class="">------------------------------<wbr class="">---------------------<br class=""><br class=""></div></div></div>
</div>
<br class=""></div></div><br class="">______________________________<wbr class="">_________________<br class="">
Ndn-interest mailing list<br class="">
<a href="mailto:Ndn-interest@lists.cs.ucla.edu" class="">Ndn-interest@lists.cs.ucla.edu</a><br class="">
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest" rel="noreferrer" target="_blank" class="">http://www.lists.cs.ucla.edu/<wbr class="">mailman/listinfo/ndn-interest</a><br class="">
<br class=""></blockquote></div><br class=""></div></div></div>
_______________________________________________<br class="">Ndn-interest mailing list<br class=""><a href="mailto:Ndn-interest@lists.cs.ucla.edu" class="">Ndn-interest@lists.cs.ucla.edu</a><br class="">http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest<br class=""></div></blockquote></div><br class=""></div></div></body></html>