Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ACE_WIN32_Wakeup_Completion Class Reference

Inheritance diagram for ACE_WIN32_Wakeup_Completion:

Inheritance graph
Collaboration diagram for ACE_WIN32_Wakeup_Completion:

Collaboration graph
List of all members.

Public Methods

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

virtual ~ACE_WIN32_Wakeup_Completion (void)
 Destructor. More...

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

Detailed Description

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

Definition at line 21 of file WIN32_Proactor.cpp.

Constructor & Destructor Documentation

ACE_WIN32_Wakeup_Completion::ACE_WIN32_Wakeup_Completion ACE_Handler   handler,
const void *    act = 0,
int    priority = 0,
int    signal_number = ACE_SIGRTMIN


Definition at line 781 of file WIN32_Proactor.cpp.

00786   : ACE_Asynch_Result_Impl (),
00787     ACE_WIN32_Asynch_Result (handler, act, event, 0, 0, priority, signal_number)
00788 {
00789 }

ACE_WIN32_Wakeup_Completion::~ACE_WIN32_Wakeup_Completion void    [virtual]


Definition at line 791 of file WIN32_Proactor.cpp.

00792 {
00793 }

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

This method calls the <handler>'s <handle_wakeup> method.

Implements ACE_Asynch_Result_Impl.

Definition at line 796 of file WIN32_Proactor.cpp.

References ACE_Handler::handle_wakeup, and ACE_WIN32_Asynch_Result::handler_.

00800 {
00801   this->handler_.handle_wakeup ();
00802 }

The documentation for this class was generated from the following file:
Generated on Mon Jun 16 13:01:09 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002