This class is posted to the completion port when a timer expires. When the complete()
method of this object is called, the handler's handle_timeout()
method will be called.
More...
#include <POSIX_Proactor.h>
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.
|
| ACE_POSIX_Asynch_Result (const ACE_Handler::Proxy_Ptr &handler_proxy, const void *act, ACE_HANDLE event, u_long offset, u_long offset_high, int priority, int signal_number) |
| Constructor. <Event> is not used on POSIX.
|
| ACE_Asynch_Result_Impl (void) |
| Do-nothing constructor.
|
Detailed Description
This class is posted to the completion port when a timer expires. When the complete()
method of this object is called, the handler's handle_timeout()
method will be called.
Constructor & Destructor Documentation
virtual ACE_POSIX_Asynch_Timer::~ACE_POSIX_Asynch_Timer |
( |
void |
| ) |
|
|
inlineprotectedvirtual |
Member Function Documentation
void ACE_POSIX_Asynch_Timer::complete |
( |
size_t |
bytes_transferred, |
|
|
int |
success, |
|
|
const void * |
completion_key, |
|
|
u_long |
error = 0 |
|
) |
| |
|
protectedvirtual |
Friends And Related Function Documentation
The factory method for this class is with the POSIX_Proactor class.
Member Data Documentation
Time value requested by caller.
The documentation for this class was generated from the following files: