NAME

ACE_Proactor_Handle_Timeout_Upcall - Functor for ACE_Timer_Queue.

SYNOPSIS

#include <ace/Proactor.h>

class ACE_Proactor_Handle_Timeout_Upcall { public: friend class ACE_Proactor; 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;

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 and Alexander Babu Arulanthu alex@cs.wustl.edu

LIBRARY

ace