#include <WIN32_Asynch_IO.h>
Inheritance diagram for ACE_WIN32_Asynch_Operation:
Public Member Functions | |
int | open (const ACE_Handler::Proxy_Ptr &handler_proxy, ACE_HANDLE handle, const void *completion_key, ACE_Proactor *proactor) |
int | cancel (void) |
ACE_Proactor * | proactor (void) const |
Return the underlying proactor. | |
Protected Member Functions | |
ACE_WIN32_Asynch_Operation (ACE_WIN32_Proactor *win32_proactor) | |
Constructor. | |
virtual | ~ACE_WIN32_Asynch_Operation (void) |
Destructor. | |
Protected Attributes | |
ACE_WIN32_Proactor * | win32_proactor_ |
Win32 Proactor. | |
ACE_Proactor * | proactor_ |
Proactor that this asynch IO is registered with. | |
ACE_Handler::Proxy_Ptr | handler_proxy_ |
Handler that will receive the callback. | |
ACE_HANDLE | handle_ |
I/O handle used for reading. |
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.
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 | ( | const ACE_Handler::Proxy_Ptr & | handler_proxy, | |
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.
ACE_HANDLE ACE_WIN32_Asynch_Operation::handle_ [protected] |
I/O handle used for reading.
Handler that will receive the callback.
ACE_Proactor* ACE_WIN32_Asynch_Operation::proactor_ [protected] |
Proactor that this asynch IO is registered with.
Win32 Proactor.