ACE  6.4.2
Public Member Functions | Protected Member Functions | List of all members
ACE_Asynch_Operation_Impl Class Referenceabstract

Abstract base class for all the concrete implementation classes that provide different implementations for the ACE_Asynch_Operation. More...

#include <Asynch_IO_Impl.h>

Inheritance diagram for ACE_Asynch_Operation_Impl:
Inheritance graph
[legend]

Public Member Functions

virtual ~ACE_Asynch_Operation_Impl (void)
 
virtual int open (const ACE_Handler::Proxy_Ptr &handler_proxy, ACE_HANDLE handle, const void *completion_key, ACE_Proactor *proactor)=0
 
virtual int cancel (void)=0
 
virtual ACE_Proactorproactor (void) const =0
 Return the underlying proactor. More...
 

Protected Member Functions

 ACE_Asynch_Operation_Impl (void)
 Do-nothing constructor. More...
 

Detailed Description

Abstract base class for all the concrete implementation classes that provide different implementations for the ACE_Asynch_Operation.

Constructor & Destructor Documentation

ACE_Asynch_Operation_Impl::~ACE_Asynch_Operation_Impl ( void  )
virtual
ACE_Asynch_Operation_Impl::ACE_Asynch_Operation_Impl ( void  )
inlineprotected

Do-nothing constructor.

Member Function Documentation

virtual int ACE_Asynch_Operation_Impl::cancel ( void  )
pure virtual

This cancels all pending accepts operations that were issued by the calling thread. The function does not cancel asynchronous operations issued by other threads.

Implemented in ACE_POSIX_Asynch_Connect, ACE_POSIX_Asynch_Accept, and ACE_POSIX_Asynch_Operation.

virtual int ACE_Asynch_Operation_Impl::open ( const ACE_Handler::Proxy_Ptr handler_proxy,
ACE_HANDLE  handle,
const void *  completion_key,
ACE_Proactor proactor 
)
pure virtual

Initializes the factory with information which will be used with each asynchronous call. If handle == ACE_INVALID_HANDLE, ACE_Handler::handle() will be called on the proxied handler to get the correct handle.

Implemented in ACE_POSIX_Asynch_Connect, ACE_POSIX_Asynch_Accept, and ACE_POSIX_Asynch_Operation.

virtual ACE_Proactor* ACE_Asynch_Operation_Impl::proactor ( void  ) const
pure virtual

Return the underlying proactor.

Implemented in ACE_POSIX_Asynch_Operation.


The documentation for this class was generated from the following files: