This class abstracts out the common things needed for implementing Asynch_Operation for WIN32 platform.
class ACE_WIN32_Asynch_Operation : public virtual ACE_Asynch_Operation_Impl {
public:
int open ( ACE_Handler &handler, ACE_HANDLE handle, const void *completion_key, ACE_Proactor *proactor );
int cancel (void);
ACE_Proactor* proactor (void) const;
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_;
};
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.
ACE_Proactor* proactor (void) const;
Irfan Pyarali (irfan@cs.wustl.edu),
Tim Harrison (harrison@cs.wustl.edu) and
Alexander Babu Arulanthu alex@cs.wustl.edu
ace