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.
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_;
};
The implementation classes for POSIX implementation of Asynch Operations are defined here in this file.
ACE_Proactor* proactor (void) const;
Irfan Pyarali (irfan@cs.wustl.edu),
Tim Harrison (harrison@cs.wustl.edu) and
Alexander Babu Arulanthu alex@cs.wustl.edu
ace