<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="">
No, I meant producer. 
<div class="">As your producer registers only prefix <span class=""><span class=""><i style="font-weight: bold;" class="">/ndn/edu/ucla/remap/some_app/something
</i>it will inevitably receive any interests that have this prefix AND any kind of suffix </span></span><span class=""><b class="" style="font-style: italic;">/ndn/edu/ucla/remap/some_app/something/<could_be_anything_here>
</b><span class="">in the interests' name</span><b class="" style="font-style: italic;">.</b></span></div>
<div class=""><span class=""><b class="" style="font-style: italic;"><br class="">
</b></span></div>
<div class="">Thus, producer should carefully filter unwanted interests and check whether interest name it received has a meaningful components after the base prefix (i.e. for the previous example - check whether it has 6 components with names arg1 arg2 arg3
 and values accordingly).</div>
<div class="">
<div class=""><br class="webkit-block-placeholder">
</div>
<div class="">As far as I know, there’s no such thing as REST-like arguments supported by the protocol right now.</div>
<div class=""><br class="">
</div>
<div apple-content-edited="true" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Thanks, </div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<br class="">
</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
-- <br class="">
Peter Gusev</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Programmer/Analyst @ REMAP, UCLA</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<br class="">
<a href="mailto:peter@remap.ucla.edu" class="">peter@remap.ucla.edu</a><br class="">
+1 213 5872748<br class="">
peetonn_ (skype)</div>
</div>
</div>
</div>
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On May 11, 2015, at 11:27 AM, Anil Jangam <<a href="mailto:anilj.mailing@gmail.com" class="">anilj.mailing@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">Thanks Peter.. just to clarify.. when you said 1. "<span style="font-size:12.8000001907349px" class="">parse it on the producer side " and 2. </span>"<span style="font-size:12.8000001907349px" class="">your producer should be aware of
 that" you actually meant to say Consumer, right? This basically means, I will have to design my application namespace carefully to accommodate such extensions, and its completely application level details. </span>
<div class=""><span style="font-size:12.8000001907349px" class=""><br class="">
</span></div>
<div class=""><span style="font-size:12.8000001907349px" class="">I was curious if protocol itself offers anything (so I just use an API) to set any user specific data into Interest, which ideally does the same thing as you mentioned. </span></div>
<div class=""><span style="font-size:12.8000001907349px" class=""><br class="">
</span></div>
<div class=""><span style="font-size:12.8000001907349px" class="">/anil.</span></div>
<div class=""><span style="font-size:12.8000001907349px" class=""><br class="">
</span></div>
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Mon, May 11, 2015 at 11:13 AM, Gusev, Peter <span dir="ltr" class="">
<<a href="mailto:peter@remap.ucla.edu" target="_blank" class="">peter@remap.ucla.edu</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word" class="">Hi Anil,
<div class=""><br class="">
</div>
<div class="">I believe you can pass anything you like after the prefix your producer has registered. Though you have to parse it on the producer side if it’s something more than just another few name components.</div>
<div class=""><br class="">
</div>
<div class="">I.e. your producer has registered prefix <i class=""><b class="">/ndn/edu/ucla/remap/some_app/something</b>
</i>that will make it receiving any interests with this prefix, so you can send out interests like that <i class=""><b class="">/ndn/edu/ucla/remap/some_app/something/arg1/10/arg2/20/arg3/30</b>
</i>and your producer should be aware of that and treat name components that come after the registered prefix accordingly.</div>
<div class=""><br 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="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="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="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">
Thanks, </div>
<div style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">
<br class="">
</div>
<div style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">
-- <br class="">
Peter Gusev</div>
<div style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">
Programmer/Analyst @ REMAP, UCLA</div>
<div style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">
<br class="">
<a href="mailto:peter@remap.ucla.edu" target="_blank" class="">peter@remap.ucla.edu</a><br class="">
<a href="tel:%2B1%20213%205872748" value="+12135872748" target="_blank" class="">+1 213 5872748</a><br class="">
peetonn_ (skype)</div>
</div>
</div>
</div>
</div>
<br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">
<div class="h5">
<div class="">On May 11, 2015, at 11:05 AM, Muhammad Hosain Abdollahi Sabet <<a href="mailto:M.AbdollahiSabet@mail.sbu.ac.ir" target="_blank" class="">M.AbdollahiSabet@mail.sbu.ac.ir</a>> wrote:</div>
<br class="">
</div>
</div>
<div class="">
<div class="">
<div class="h5">
<div class="">
<p class=""><font size="2" class="">Hi Anil,<br class="">
The only way that I'm aware of, is kind of tricky. The parameter sender(active producer?) sends an interest to a receiver(passive consumer). The receiver responds to the interest and sends another interest. Finally the sender pass parameter in a data packet
 in response to the latter.<br class="">
<br class="">
Thanks,<br class="">
Sabet<br class="">
<br class="">
<br class="">
-----Original Message-----<br class="">
From: Ndn-interest on behalf of Anil Jangam<br class="">
Sent: Mon 5/11/2015 10:23 PM<br class="">
To: <a href="mailto:ndn-interest@lists.cs.ucla.edu" target="_blank" class="">ndn-interest@lists.cs.ucla.edu</a><br class="">
Subject: [Ndn-interest] Parameter, argument passing in Interest name<br class="">
<br class="">
Hi,<br class="">
<br class="">
I am trying to understand how I can pass a parameter using Interest message<br class="">
as a carrier. I want to exchange an application specific data between<br class="">
producer and consumer.<br class="">
<br class="">
I believe some mechanism exist to pass argument in strategy URL using<br class="">
'?id=1254' convention. Does something similar possible within Interest name?<br class="">
<br class="">
/anil.<br class="">
<br class="">
</font></p>
</div>
</div>
</div>
_______________________________________________<br class="">
Ndn-interest mailing list<br class="">
<a href="mailto:Ndn-interest@lists.cs.ucla.edu" target="_blank" class="">Ndn-interest@lists.cs.ucla.edu</a><br class="">
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest" target="_blank" class="">http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest</a><br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>