carta
ACE_WIN32_Asynch_Operation(3)

ACE_WIN32_Asynch_Operation3

This class abstracts out the common things needed for implementing asynch_operation for win32 platform.

Usage

class ACE_WIN32_Asynch_Operation :

public:

int open (

ACE_Handler &handler,

const void *completion_key,

ACE_Proactor *proactor

int cancel (void);

protected:

ACE_WIN32_Asynch_Operation (ACE_WIN32_Proactor *win32_proactor);

virtual ~ACE_WIN32_Asynch_Operation (void);

ACE_WIN32_Proactor *win32_proactor_;

ACE_Proactor *proactor_;

ACE_Handler *handler_;

ACE_HANDLE handle_;

Overview

These classes only works on Win32 platforms.

The implementation of ACE_Asynch_Transmit_File and ACE_Asynch_Accept are only supported if ACE_HAS_WINSOCK2 is defined or you are on WinNT 4.0 or higher.

Access methods.

ACE_Proactor* proactor (void) const;

Return the underlying proactor.

Library

ace