ACE_WIN32_Wakeup_Completion Class Reference

Inheritance diagram for ACE_WIN32_Wakeup_Completion:

Inheritance graph
[legend]
Collaboration diagram for ACE_WIN32_Wakeup_Completion:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ACE_WIN32_Wakeup_Completion (ACE_Handler::Proxy_Ptr &handler_proxy, const void *act=0, ACE_HANDLE event=ACE_INVALID_HANDLE, int priority=0, int signal_number=ACE_SIGRTMIN)
 Constructor.

virtual ~ACE_WIN32_Wakeup_Completion (void)
 Destructor.

virtual void complete (size_t bytes_transferred=0, int success=1, const void *completion_key=0, u_long error=0)
 This method calls the 's method.


Detailed Description

This is result object is used by the of the ACE_Proactor interface to wake up all the threads blocking for completions.

Definition at line 24 of file WIN32_Proactor.cpp.


Constructor & Destructor Documentation

ACE_WIN32_Wakeup_Completion::ACE_WIN32_Wakeup_Completion ACE_Handler::Proxy_Ptr handler_proxy,
const void *  act = 0,
ACE_HANDLE  event = ACE_INVALID_HANDLE,
int  priority = 0,
int  signal_number = ACE_SIGRTMIN
 

Constructor.

Definition at line 776 of file WIN32_Proactor.cpp.

References ACE_Handler::Proxy_Ptr.

00781   : ACE_Asynch_Result_Impl (),
00782     ACE_WIN32_Asynch_Result
00783      (handler_proxy, act, event, 0, 0, priority, signal_number)
00784 {
00785 }

ACE_WIN32_Wakeup_Completion::~ACE_WIN32_Wakeup_Completion void   )  [virtual]
 

Destructor.

Definition at line 787 of file WIN32_Proactor.cpp.

00788 {
00789 }


Member Function Documentation

void ACE_WIN32_Wakeup_Completion::complete size_t  bytes_transferred = 0,
int  success = 1,
const void *  completion_key = 0,
u_long  error = 0
[virtual]
 

This method calls the 's method.

Implements ACE_Asynch_Result_Impl.

Definition at line 792 of file WIN32_Proactor.cpp.

References ACE_Refcounted_Auto_Ptr< X, ACE_LOCK >::get(), and ACE_Handler::handle_wakeup().

00796 {
00797   ACE_Handler *handler = this->handler_proxy_.get ()->handler ();
00798   if (handler != 0)
00799     handler->handle_wakeup ();
00800 }


The documentation for this class was generated from the following file:
Generated on Thu Nov 9 11:33:28 2006 for ACE by doxygen 1.3.6