Reference

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 ([email protected]), Tim Harrison ([email protected]) and Alexander Babu Arulanthu [email protected]

LIBRARY

ace