ACE 8.0.1
Loading...
Searching...
No Matches
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 ()
 
virtual int open (const ACE_Handler::Proxy_Ptr &handler_proxy, ACE_HANDLE handle, const void *completion_key, ACE_Proactor *proactor)=0
 
virtual int cancel ()=0
 
virtual ACE_Proactorproactor () const =0
 Return the underlying proactor.
 

Protected Member Functions

 ACE_Asynch_Operation_Impl ()
 Do-nothing constructor.
 

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::~ACE_Asynch_Operation_Impl ( )
virtual

◆ ACE_Asynch_Operation_Impl()

ACE_Asynch_Operation_Impl::ACE_Asynch_Operation_Impl ( )
inlineprotected

Do-nothing constructor.

Member Function Documentation

◆ cancel()

virtual int ACE_Asynch_Operation_Impl::cancel ( )
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_Operation, ACE_POSIX_Asynch_Accept, and ACE_POSIX_Asynch_Connect.

◆ open()

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_Operation, ACE_POSIX_Asynch_Accept, and ACE_POSIX_Asynch_Connect.

◆ proactor()

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

Return the underlying proactor.

Implemented in ACE_POSIX_Asynch_Operation.


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