NAME

ACE_Proactor_Handle_Timeout_Upcall

SYNOPSIS

#include <ace/Proactor.h>

class ACE_Proactor_Handle_Timeout_Upcall { public: friend class ACE_Proactor; typedef ACE_Timer_Queue_T<ACE_Handler *, ACE_Proactor_Handle_Timeout_Upcall, ACE_SYNCH_RECURSIVE_MUTEX> TIMER_QUEUE; ACE_Proactor_Handle_Timeout_Upcall (void); int timeout ( TIMER_QUEUE &timer_queue, ACE_Handler *handler, const void *arg, const ACE_Time_Value &cur_time ); int cancellation (TIMER_QUEUE &timer_queue, ACE_Handler *handler); int deletion ( TIMER_QUEUE &timer_queue, ACE_Handler *handler, const void *arg ); protected: int proactor (ACE_Proactor &proactor); ACE_Proactor *proactor_; };

DESCRIPTION

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

PUBLIC MEMBERS

friend class ACE_Proactor;

    typedef ACE_Timer_Queue_T<ACE_Handler *,  ACE_Proactor_Handle_Timeout_Upcall,  ACE_SYNCH_RECURSIVE_MUTEX> TIMER_QUEUE;
    

ACE_Proactor_Handle_Timeout_Upcall (void);

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

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

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

PROTECTED MEMBERS

int proactor (ACE_Proactor &proactor);

ACE_Proactor *proactor_;

AUTHOR

Irfan Pyarali (irfan@cs.wustl.edu) Tim Harrison (harrison@cs.wustl.edu)

TITLE

Functor for Timer_Queues.

LIBRARY

ace