complete()
method of this object is called, the handler's handle_timeout()
method will be called.
More...
#include <POSIX_Proactor.h>
Inheritance diagram for ACE_POSIX_Asynch_Timer:
Protected Member Functions | |
ACE_POSIX_Asynch_Timer (const ACE_Handler::Proxy_Ptr &handler_proxy, const void *act, const ACE_Time_Value &tv, ACE_HANDLE event=ACE_INVALID_HANDLE, int priority=0, int signal_number=ACE_SIGRTMIN) | |
Constructor. | |
virtual | ~ACE_POSIX_Asynch_Timer (void) |
Destructor. | |
virtual void | complete (size_t bytes_transferred, int success, const void *completion_key, u_long error=0) |
This method calls the handler's handle_timeout method. | |
Protected Attributes | |
ACE_Time_Value | time_ |
Time value requested by caller. | |
Friends | |
class | ACE_POSIX_Proactor |
complete()
method of this object is called, the handler's handle_timeout()
method will be called.
ACE_POSIX_Asynch_Timer::ACE_POSIX_Asynch_Timer | ( | const ACE_Handler::Proxy_Ptr & | handler_proxy, | |
const void * | act, | |||
const ACE_Time_Value & | tv, | |||
ACE_HANDLE | event = ACE_INVALID_HANDLE , |
|||
int | priority = 0 , |
|||
int | signal_number = ACE_SIGRTMIN | |||
) | [protected] |
Constructor.
virtual ACE_POSIX_Asynch_Timer::~ACE_POSIX_Asynch_Timer | ( | void | ) | [inline, protected, virtual] |
Destructor.
void ACE_POSIX_Asynch_Timer::complete | ( | size_t | bytes_transferred, | |
int | success, | |||
const void * | completion_key, | |||
u_long | error = 0 | |||
) | [protected, virtual] |
friend class ACE_POSIX_Proactor [friend] |
The factory method for this class is with the POSIX_Proactor class.
ACE_Time_Value ACE_POSIX_Asynch_Timer::time_ [protected] |
Time value requested by caller.