Reference

ACE_WIN32_Asynch_Operation(3)

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

NAME

ACE_WIN32_Asynch_Operation -

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

SYNOPSIS

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_;
};

DESCRIPTION

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.

AUTHOR

Irfan Pyarali ([email protected]), Tim Harrison ([email protected]) and Alexander Babu Arulanthu [email protected]

LIBRARY

ace