[ndnSIM] Custom Application is not triggering OnInterest callback
Spyridon Mastorakis
smastorakis at unomaha.edu
Thu Nov 12 18:37:34 PST 2020
Hi,
If your custom application acts as a consumer, then it makes sense that the OnInterest method is not called, since I suppose your custom app is not receiving any Interests. If not, then you can probably check if the prefix registered by the custom app is indeed the prefix of the Interests that the custom app is supposed to receive.
Thanks,
Spyridon (Spyros) Mastorakis
Assistant Professor
Computer Science Department
University of Nebraska, Omaha
Peter Kiewit Institute Room 175A
https://sites.google.com/site/spyridonmastorakis
On Nov 12, 2020, at 8:06 PM, Mark Powers via ndnSIM <ndnsim at lists.cs.ucla.edu<mailto:ndnsim at lists.cs.ucla.edu>> wrote:
Hi everyone,
I am trying to get a custom app to work. I have taken the code from the example on https://ndnsim.net/current/applications.html#custom-applications<https://urldefense.proofpoint.com/v2/url?u=https-3A__ndnsim.net_current_applications.html-23custom-2Dapplications&d=DwMFAw&c=Cu5g146wZdoqVuKpTNsYHeFX_rg6kWhlkLF8Eft-wwo&r=eI5Bh74ovG-uIXQ5ksQETSPgRFzmJXjIZXneCqw580E&m=P-C7sZcLphXXuPpfNPfYSZ4SA6r9tpN9VC-HllGY5T4&s=sUVwdzvBjWf11o8q1BYgYziPhz9TWrO7gqAW-e5Kk24&e=>. My topology is 3 nodes in a line: with a consumer at one end, my custom app in the middle, and a producer at the other end. During debugging, I see that StartApplication is called for my app, but never the OnInterest callback. From the log, I see that the producer is receiving interests from the consumer. Is there a reason that they would not trigger the OnInterest callback while in transit? I am running the CustomApp example code from the examples directory of the repository and installed it into my own scenario described above.
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20201113/7973ac2b/attachment.html>
More information about the ndnSIM
mailing list