[Ndn-interest] Parameter, argument passing in Interest name
peter at remap.UCLA.EDU
Mon May 11 11:13:54 PDT 2015
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.
Programmer/Analyst @ REMAP, UCLA
peter at remap.ucla.edu<mailto:peter at remap.ucla.edu>
+1 213 5872748
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:
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.
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
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?
Ndn-interest mailing list
Ndn-interest at lists.cs.ucla.edu<mailto:Ndn-interest at lists.cs.ucla.edu>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ndn-interest