#include <ace/Timer_Queue.h>
class ACE_Timer_Node {
public:
friend class ACE_Timer_Queue;
friend class ACE_Timer_List;
friend class ACE_Timer_List_Iterator;
friend class ACE_Timer_Heap;
friend class ACE_Timer_Heap_Iterator;
private:
ACE_Timer_Node ( ACE_Event_Handler *h, const void *a, const ACE_Time_Value &t, const ACE_Time_Value &i, ACE_Timer_Node *n, int timer_id );
ACE_Timer_Node (void);
ACE_Event_Handler *handler_;
const void *arg_;
ACE_Time_Value timer_value_;
ACE_Time_Value interval_;
ACE_Timer_Node *next_;
int timer_id_;
ACE_ALLOC_HOOK_DECLARE;
void dump (void) const;
};
friend class ACE_Timer_Queue;
friend class ACE_Timer_List;
friend class ACE_Timer_List_Iterator;
friend class ACE_Timer_Heap;
friend class ACE_Timer_Heap_Iterator;
ACE_Timer_Node (
ACE_Event_Handler *h,
const void *a,
const ACE_Time_Value &t,
const ACE_Time_Value &i,
ACE_Timer_Node *n,
int timer_id
);
ACE_Timer_Node (void);
ACE_Event_Handler *handler_;
handle_timeout
on when a timeout occurs.
const void *arg_;
handle_timeout
.
ACE_Time_Value timer_value_;
ACE_Time_Value interval_;
ACE_Timer_Node *next_;
int timer_id_;
ACE_ALLOC_HOOK_DECLARE;
void dump (void) const;