ACE 8.0.0
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
ACE_Asynch_Result_Impl Class Referenceabstract

Abstract base class for the all the classes that provide concrete implementations for ACE_Asynch_Result. More...

#include <Asynch_IO_Impl.h>

Inheritance diagram for ACE_Asynch_Result_Impl:
Inheritance graph
[legend]

Public Member Functions

virtual ~ACE_Asynch_Result_Impl ()
 
virtual size_t bytes_transferred () const =0
 Number of bytes transferred by the operation.
 
virtual const voidact () const =0
 ACT associated with the operation.
 
virtual int success () const =0
 Did the operation succeed?
 
virtual const voidcompletion_key () const =0
 
virtual u_long error () const =0
 Error value if the operation fail.
 
virtual ACE_HANDLE event () const =0
 Event associated with the OVERLAPPED structure.
 
virtual u_long offset () const =0
 This really make sense only when doing file I/O.
 
virtual u_long offset_high () const =0
 
virtual int priority () const =0
 Priority of the operation.
 
virtual int signal_number () const =0
 
virtual void complete (size_t bytes_transferred, int success, const void *completion_key, u_long error=0)=0
 This is called when the asynchronous operation completes.
 
virtual int post_completion (ACE_Proactor_Impl *proactor)=0
 Post this to the Proactor's completion port.
 

Protected Member Functions

 ACE_Asynch_Result_Impl ()
 Do-nothing constructor.
 

Detailed Description

Abstract base class for the all the classes that provide concrete implementations for ACE_Asynch_Result.

Constructor & Destructor Documentation

◆ ~ACE_Asynch_Result_Impl()

ACE_Asynch_Result_Impl::~ACE_Asynch_Result_Impl ( )
virtual

◆ ACE_Asynch_Result_Impl()

ACE_Asynch_Result_Impl::ACE_Asynch_Result_Impl ( )
inlineprotected

Do-nothing constructor.

Member Function Documentation

◆ act()

virtual const void * ACE_Asynch_Result_Impl::act ( ) const
pure virtual

ACT associated with the operation.

Implemented in ACE_POSIX_Asynch_Result.

◆ bytes_transferred()

virtual size_t ACE_Asynch_Result_Impl::bytes_transferred ( ) const
pure virtual

Number of bytes transferred by the operation.

Implemented in ACE_POSIX_Asynch_Result.

◆ complete()

virtual void ACE_Asynch_Result_Impl::complete ( size_t bytes_transferred,
int success,
const void * completion_key,
u_long error = 0 )
pure virtual

◆ completion_key()

virtual const void * ACE_Asynch_Result_Impl::completion_key ( ) const
pure virtual

This ACT is not the same as the ACT associated with the asynchronous operation.

Implemented in ACE_POSIX_Asynch_Result.

◆ error()

virtual u_long ACE_Asynch_Result_Impl::error ( ) const
pure virtual

Error value if the operation fail.

Implemented in ACE_POSIX_Asynch_Result.

◆ event()

virtual ACE_HANDLE ACE_Asynch_Result_Impl::event ( ) const
pure virtual

Event associated with the OVERLAPPED structure.

Implemented in ACE_POSIX_Asynch_Result.

◆ offset()

virtual u_long ACE_Asynch_Result_Impl::offset ( ) const
pure virtual

This really make sense only when doing file I/O.

Implemented in ACE_POSIX_Asynch_Result.

◆ offset_high()

virtual u_long ACE_Asynch_Result_Impl::offset_high ( ) const
pure virtual

Implemented in ACE_POSIX_Asynch_Result.

◆ post_completion()

virtual int ACE_Asynch_Result_Impl::post_completion ( ACE_Proactor_Impl * proactor)
pure virtual

Post this to the Proactor's completion port.

Implemented in ACE_POSIX_Asynch_Result.

◆ priority()

virtual int ACE_Asynch_Result_Impl::priority ( ) const
pure virtual

Priority of the operation.

Implemented in ACE_POSIX_Asynch_Result.

◆ signal_number()

virtual int ACE_Asynch_Result_Impl::signal_number ( ) const
pure virtual

POSIX4 real-time signal number to be used for the operation. signal_number ranges from SIGRTMIN to SIGRTMAX. By default, SIGRTMIN is used to issue <aio_> calls. This is a no-op on non-POSIX4 systems and returns 0.

Implemented in ACE_POSIX_Asynch_Result.

◆ success()

virtual int ACE_Asynch_Result_Impl::success ( ) const
pure virtual

Did the operation succeed?

Implemented in ACE_POSIX_Asynch_Result.


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