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

ACE_POSIX_Wakeup_Completion Class Reference

Inheritance diagram for ACE_POSIX_Wakeup_Completion:

Inheritance graph
Collaboration diagram for ACE_POSIX_Wakeup_Completion:

Collaboration graph
List of all members.

Public Methods

 ACE_POSIX_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_POSIX_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 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 30 of file POSIX_Proactor.cpp.

Constructor & Destructor Documentation

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


Definition at line 1976 of file POSIX_Proactor.cpp.

01981   : ACE_Asynch_Result_Impl (),
01982     ACE_POSIX_Asynch_Result (handler, act, event, 0, 0, priority, signal_number)
01983 {
01984 }

ACE_POSIX_Wakeup_Completion::~ACE_POSIX_Wakeup_Completion void    [virtual]


Definition at line 1986 of file POSIX_Proactor.cpp.

01987 {
01988 }

Member Function Documentation

void ACE_POSIX_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 1991 of file POSIX_Proactor.cpp.

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

01995 {
01997   this->handler_.handle_wakeup ();
01998 }

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