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

[reSIProcate] ergent help with sorted timer


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.