NAME

ACE_Asynch_Operation - This is a base class for all asynch operations.

SYNOPSIS

#include <ace/Asynch_IO.h>

class ACE_Asynch_Operation { public: int open ( ACE_Handler &handler, ACE_HANDLE handle = ACE_INVALID_HANDLE, const void *completion_key = 0, ACE_Proactor *proactor = 0 ); int cancel (void); protected: ACE_Asynch_Operation (void); ACE_Proactor *proactor_; ACE_Handler *handler_; ACE_HANDLE handle_; };

DESCRIPTION

This 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

PUBLIC MEMBERS

int open (
    ACE_Handler &handler,
    ACE_HANDLE handle = ACE_INVALID_HANDLE,
    const void *completion_key = 0,
    ACE_Proactor *proactor = 0
    );

int cancel (void);

PROTECTED MEMBERS

ACE_Asynch_Operation (void);

ACE_Proactor *proactor_;

ACE_Handler *handler_;

ACE_HANDLE handle_;

AUTHOR

Irfan Pyarali (irfan@cs.wustl.edu) Tim Harrison (harrison@cs.wustl.edu)

LIBRARY

ace