---
name: "ACE_WIN32_Asynch_Operation"
section: "3"
platform: "linux"
package: "libace-doc"
version: "5.0.7-4"
release: "Debian 2.2 (Potato)"
platforms: ["linux"]
url: "https://new.carta.tech/ACE_WIN32_Asynch_Operation"
---

# 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 (irfan@cs.wustl.edu), Tim Harrison (harrison@cs.wustl.edu) and Alexander Babu Arulanthu alex@cs.wustl.edu

## LIBRARY

ace
