NAME

ACE_Event_Handler_Handle_Timeout_Upcall

SYNOPSIS

#include <ace/Timer_Queue_T.h>

template<class ACE_LOCK> class ACE_Event_Handler_Handle_Timeout_Upcall { public: typedef ACE_Timer_Queue_T<ACE_Event_Handler *, ACE_Event_Handler_Handle_Timeout_Upcall<ACE_LOCK>, ACE_LOCK> TIMER_QUEUE; int timeout ( TIMER_QUEUE &timer_queue, ACE_Event_Handler *handler, const void *arg, const ACE_Time_Value &cur_time ); int cancellation ( TIMER_QUEUE &timer_queue, ACE_Event_Handler *handler ); int deletion ( TIMER_QUEUE &timer_queue, ACE_Event_Handler *handler, const void *arg ); };

DESCRIPTION

This class implements the functor required by the Timer Queue to call handle_timeout on ACE_Event_Handlers.

PUBLIC MEMBERS

    typedef ACE_Timer_Queue_T<ACE_Event_Handler *,  ACE_Event_Handler_Handle_Timeout_Upcall<ACE_LOCK>,  ACE_LOCK> TIMER_QUEUE;
    

int timeout (
    TIMER_QUEUE &timer_queue,
    ACE_Event_Handler *handler,
    const void *arg,
    const ACE_Time_Value &cur_time
    );

int cancellation (
    TIMER_QUEUE &timer_queue,
    ACE_Event_Handler *handler
    );

int deletion (
    TIMER_QUEUE &timer_queue,
    ACE_Event_Handler *handler,
    const void *arg
    );

AUTHOR

Doug Schmidt, Irfan Pyarali, and Darrell Brunsch

TITLE

Functor for Timer_Queues.

LIBRARY

ace