#include <Proactor.h>
Collaboration diagram for ACE_Proactor_Handle_Timeout_Upcall:
Public Methods | |
ACE_Proactor_Handle_Timeout_Upcall (void) | |
Constructor. | |
int | timeout (TIMER_QUEUE &timer_queue, ACE_Handler *handler, const void *arg, const ACE_Time_Value &cur_time) |
This method is called when the timer expires. | |
int | cancellation (TIMER_QUEUE &timer_queue, ACE_Handler *handler) |
This method is called when the timer is canceled. | |
int | deletion (TIMER_QUEUE &timer_queue, ACE_Handler *handler, const void *arg) |
This method is called when the timer queue is destroyed and the timer is still contained in it. | |
Protected Methods | |
int | proactor (ACE_Proactor &proactor) |
Set the proactor. This will fail, if one is already set! | |
Protected Attributes | |
ACE_Proactor* | proactor_ |
Handle to the proactor. This is needed for posting a timer result to the Proactor's completion queue. | |
Private Types | |
typedef ACE_Timer_Queue_T< ACE_Handler *, ACE_Proactor_Handle_Timeout_Upcall, ACE_SYNCH_RECURSIVE_MUTEX> | TIMER_QUEUE |
Type def for the timer queue. | |
Friends | |
class | ACE_Proactor |
This class implements the functor required by the Timer Queue to call <handle_timeout> on ACE_Handlers.
|
Type def for the timer queue.
|
|
Constructor.
|
|
This method is called when the timer is canceled.
|
|
This method is called when the timer queue is destroyed and the timer is still contained in it.
|
|
Set the proactor. This will fail, if one is already set!
|
|
This method is called when the timer expires.
|
|
The main Proactor class has special permissions.
|
|
Handle to the proactor. This is needed for posting a timer result to the Proactor's completion queue.
|