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.
Definition at line 621 of file POSIX_Proactor.h.
|
Constructor.
Definition at line 2002 of file POSIX_Proactor.cpp. References ACE_Handler::Proxy_Ptr.
02008 : ACE_POSIX_Asynch_Result 02009 (handler_proxy, act, event, 0, 0, priority, signal_number), 02010 time_ (tv) 02011 { 02012 } |
|
Destructor.
Definition at line 641 of file POSIX_Proactor.h.
00641 {} |
|
This method calls the handler's handle_timeout method.
Implements ACE_Asynch_Result_Impl. Definition at line 2015 of file POSIX_Proactor.cpp. References ACE_Refcounted_Auto_Ptr< X, ACE_LOCK >::get(), and ACE_Handler::handle_time_out().
02019 { 02020 ACE_Handler *handler = this->handler_proxy_.get ()->handler (); 02021 if (handler != 0) 02022 handler->handle_time_out (this->time_, this->act ()); 02023 } |
|
The factory method for this class is with the POSIX_Proactor class. Definition at line 626 of file POSIX_Proactor.h. |
|
Time value requested by caller.
Definition at line 650 of file POSIX_Proactor.h. |