[Ndn-interest] face_object

Giuseppe Carella gcarella228 at gmail.com
Mon Nov 6 04:58:02 PST 2017


Good morning community,

can someone explain me the bahavior of the face.expressInterest method in
ndn-js?
I understood that it has the aim to launch the callbacks onData and
onTimeOut, but I don't understand how it is possible that this object
doesn't work like a tcpListener.
It doesn't wait that one of the callbacks (onData or onTimeOut) returns
something.
It seems that this object launches the callbacks without waiting for the
result of one of those two callbacks.

Thank you.
Giuseppe.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20171106/3d3c5f10/attachment.html>


More information about the Ndn-interest mailing list