ACE_POSIX_Asynch_Operation3
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.
Usage
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_;
};
Overview
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.
Library
ace