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

ACE_WIN32_Asynch_Operation Class Reference

This class abstracts out the common things needed for implementing Asynch_Operation for WIN32 platform. More...

#include <WIN32_Asynch_IO.h>

Inheritance diagram for ACE_WIN32_Asynch_Operation:

Inheritance graph
[legend]
Collaboration diagram for ACE_WIN32_Asynch_Operation:

Collaboration graph
[legend]
List of all members.

Public Methods

int open (ACE_Handler &handler, ACE_HANDLE handle, const void *completion_key, ACE_Proactor *proactor)
int cancel (void)
ACE_Proactorproactor (void) const
 Return the underlying proactor.


Protected Methods

 ACE_WIN32_Asynch_Operation (ACE_WIN32_Proactor *win32_proactor)
 Constructor.

virtual ~ACE_WIN32_Asynch_Operation (void)
 Destructor.


Protected Attributes

ACE_WIN32_Proactorwin32_proactor_
 Win32 Proactor.

ACE_Proactorproactor_
 Proactor that this asynch IO is registered with.

ACE_Handlerhandler_
 Handler that will receive the callback.

ACE_HANDLE handle_
 I/O handle used for reading.


Detailed Description

This class abstracts out the common things needed for implementing Asynch_Operation for WIN32 platform.


Constructor & Destructor Documentation

ACE_WIN32_Asynch_Operation::ACE_WIN32_Asynch_Operation ACE_WIN32_Proactor   win32_proactor [protected]
 

Constructor.

ACE_WIN32_Asynch_Operation::~ACE_WIN32_Asynch_Operation void    [protected, virtual]
 

Destructor.


Member Function Documentation

int ACE_WIN32_Asynch_Operation::cancel void    [virtual]
 

This cancels all pending accepts operations that were issued by the calling thread. The function does not cancel asynchronous operations issued by other threads.

Implements ACE_Asynch_Operation_Impl.

Reimplemented in ACE_WIN32_Asynch_Read_Stream, ACE_WIN32_Asynch_Write_Stream, ACE_WIN32_Asynch_Read_File, ACE_WIN32_Asynch_Write_File, ACE_WIN32_Asynch_Accept, ACE_WIN32_Asynch_Connect, ACE_WIN32_Asynch_Transmit_File, ACE_WIN32_Asynch_Read_Dgram, and ACE_WIN32_Asynch_Write_Dgram.

int ACE_WIN32_Asynch_Operation::open ACE_Handler   handler,
ACE_HANDLE    handle,
const void *    completion_key,
ACE_Proactor   proactor
[virtual]
 

Initializes the factory with information which will be used with each asynchronous call. If (<handle> == ACE_INVALID_HANDLE), <ACE_Handler::handle> will be called on the <handler> to get the correct handle.

Implements ACE_Asynch_Operation_Impl.

Reimplemented in ACE_WIN32_Asynch_Read_Stream, ACE_WIN32_Asynch_Write_Stream, ACE_WIN32_Asynch_Read_File, ACE_WIN32_Asynch_Write_File, ACE_WIN32_Asynch_Accept, ACE_WIN32_Asynch_Connect, ACE_WIN32_Asynch_Transmit_File, ACE_WIN32_Asynch_Read_Dgram, and ACE_WIN32_Asynch_Write_Dgram.

ACE_Proactor * ACE_WIN32_Asynch_Operation::proactor void    const [virtual]
 

Return the underlying proactor.

Implements ACE_Asynch_Operation_Impl.

Reimplemented in ACE_WIN32_Asynch_Read_Stream, ACE_WIN32_Asynch_Write_Stream, ACE_WIN32_Asynch_Read_File, ACE_WIN32_Asynch_Write_File, ACE_WIN32_Asynch_Accept, ACE_WIN32_Asynch_Connect, ACE_WIN32_Asynch_Transmit_File, ACE_WIN32_Asynch_Read_Dgram, and ACE_WIN32_Asynch_Write_Dgram.


Member Data Documentation

ACE_HANDLE ACE_WIN32_Asynch_Operation::handle_ [protected]
 

I/O handle used for reading.

ACE_Handler* ACE_WIN32_Asynch_Operation::handler_ [protected]
 

Handler that will receive the callback.

ACE_Proactor* ACE_WIN32_Asynch_Operation::proactor_ [protected]
 

Proactor that this asynch IO is registered with.

ACE_WIN32_Proactor* ACE_WIN32_Asynch_Operation::win32_proactor_ [protected]
 

Win32 Proactor.


The documentation for this class was generated from the following files:
Generated on Fri Apr 2 16:55:51 2004 for ACE by doxygen1.2.18