---
name: "ACE_POSIX_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_POSIX_Asynch_Operation"
---

# ACE\_POSIX\_Asynch\_Operation(3)

This class abstracts out the common things needed for implementing Asynch\_Operation for POSIX platforms. Specific implementations such as POSIX\_AIOCB\_Asynch\_Operation and POSIX\_SIG\_Asynch\_Operation etc., can derive from this class.

## NAME

ACE\_POSIX\_Asynch\_Operation -

This class abstracts out the common things needed for implementing Asynch\_Operation for POSIX platforms. Specific implementations such as POSIX\_AIOCB\_Asynch\_Operation and POSIX\_SIG\_Asynch\_Operation etc., can derive from this class.

## SYNOPSIS

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

## DESCRIPTION

The implementation classes for POSIX implementation of Asynch Operations are defined here in this file.

## 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
