< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate] Fwd: please help with sorted timer




heather jiang <heather37j@xxxxxxxxx> wrote:
Date: Thu, 1 Mar 2007 13:00:01 -0800 (PST)
From: heather jiang <heather37j@xxxxxxxxx>
Subject: Fwd: please help with sorted timer
To: nilay.linux@xxxxxxxxx



Note: forwarded message attached.

8:00? 8:25? 8:40? Find a flick in no time
with theYahoo! Search movie showtime shortcut.Date: Thu, 1 Mar 2007 12:55:53 -0800 (PST)
From: heather jiang <heather37j@xxxxxxxxx>
Subject: ergent help with sorted timer
To: resiprocate-devel@xxxxxxxxxxxxxxxxxxxx

I have a problem with the timers, and wondering if anyone can point me to the function in DUM or anywhere else that handles this:
 
(1)If subscribe_1 did not get response and needs to retry after t_1 seconds;
 
(2)  and subscribe_2 did not get response and needs to retry after t_2 seconds;
 
(3) Since subscribe_1 is handling the second retry, I assume:  t1_1 > t_2, (that means sub_2 retries earlier)
 
(4) and I need to have a sorted timer list that will handle the retry of subscribe_2 before subscribe_1.(even thought Subscribe_1 originally starts ealier than subsribe_2)
 
(5) Timewise, it is like this:
 
sub_1----sub_2------------sub_2_rety-----------sub_1_retry
 
Where is the function within reSiprocate to establish a SORTED timer list based on its expiration time instead of starting time?
          

Access over 1 million songs - Yahoo! Music Unlimited.


Don't get soaked. Take a quick peak at the forecast
with theYahoo! Search weather shortcut.