[Ndn-interest] Parameter, argument passing in Interest name

Gusev, Peter peter at remap.UCLA.EDU
Mon May 11 11:13:54 PDT 2015


Hi Anil,

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.

I.e. your producer has registered prefix /ndn/edu/ucla/remap/some_app/something that will make it receiving any interests with this prefix, so you can send out interests like that /ndn/edu/ucla/remap/some_app/something/arg1/10/arg2/20/arg3/30 and your producer should be aware of that and treat name components that come after the registered prefix accordingly.

Thanks,

--
Peter Gusev
Programmer/Analyst @ REMAP, UCLA

peter at remap.ucla.edu<mailto:peter at remap.ucla.edu>
+1 213 5872748
peetonn_ (skype)

On May 11, 2015, at 11:05 AM, Muhammad Hosain Abdollahi Sabet <M.AbdollahiSabet at mail.sbu.ac.ir<mailto:M.AbdollahiSabet at mail.sbu.ac.ir>> wrote:


Hi Anil,
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.

Thanks,
Sabet


-----Original Message-----
From: Ndn-interest on behalf of Anil Jangam
Sent: Mon 5/11/2015 10:23 PM
To: ndn-interest at lists.cs.ucla.edu<mailto:ndn-interest at lists.cs.ucla.edu>
Subject: [Ndn-interest] Parameter, argument passing in Interest name

Hi,

I am trying to understand how I can pass a parameter using Interest message
as a carrier. I want to exchange an application specific data between
producer and consumer.

I believe some mechanism exist to pass argument in strategy URL using
'?id=1254' convention. Does something similar possible within Interest name?

/anil.


_______________________________________________
Ndn-interest mailing list
Ndn-interest at lists.cs.ucla.edu<mailto:Ndn-interest at lists.cs.ucla.edu>
http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20150511/9ff6f5a4/attachment.html>


More information about the Ndn-interest mailing list