[Nfd-dev] Interest Timeout

Alex Afanasyev aa at CS.UCLA.EDU
Fri Sep 4 11:13:52 PDT 2015


The trivial example of how to use scheduler is shown here: http://named-data.net/doc/ndn-cxx/0.3.4/examples.html#consumer-that-uses-ndn-scheduler

If you show us your code that you're having issues along the explanation of what you want to achieve, we may point out what needs to be corrected.

---
Alex

> On Sep 4, 2015, at 5:16 AM, Navdeep Uniyal <navdeep.uniyal at neclab.eu> wrote:
> 
> Thank you Alex,
> 
> I have on more doubt regarding the scheduler. I am trying to schedule an event, certain interval after sending out interest message. The issue is, the event is getting triggered only once and not all the time the interest is sent. Could you please explain a bit about how the scheduler works in nfd.
> 
> 
> Best Regards,
> Navdeep Uniyal
> 
> 
> -----Original Message-----
> From: Alex Afanasyev [mailto:aa at cs.ucla.edu]
> Sent: Donnerstag, 3. September 2015 21:31
> To: Navdeep Uniyal
> Cc: nfd-dev at lists.cs.ucla.edu
> Subject: Re: [Nfd-dev] Interest Timeout
> 
> Hi Navdeep,
> 
> When PIT entry times out, there is no concept of a "face" on which PIT entry timed out.  PIT belongs to the forwarder as a whole.
> 
> I think, what you're looking for are the incoming or outgoing face records (pitEntry->getInRecords(), pitEntry->getOutRecords()).  These are the incoming and outgoing faces that were associated with to-be-expired PIT entry.
> 
> ---
> Alex
> 
>> On Sep 2, 2015, at 5:03 AM, Navdeep Uniyal <navdeep.uniyal at neclab.eu> wrote:
>> 
>> Hello all,
>> 
>> BeforeExpirePendingInterest is triggered when the PIT entry is not satisfied and is about to expire. But is it possible to get the faceId on which it got timed out? Is there existing functions or triggers which can serve such an information when the interest gets timed out on an interface.
>> 
>> 
>> Best Regards,
>> Navdeep Uniyal

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20150904/92a07cb2/attachment.bin>


More information about the Nfd-dev mailing list