ACE 8.0.1
|
Abstract base class for the all the classes that provide concrete implementations for ACE_Asynch_Result. More...
#include <Asynch_IO_Impl.h>
Public Member Functions | |
virtual | ~ACE_Asynch_Result_Impl () |
virtual size_t | bytes_transferred () const =0 |
Number of bytes transferred by the operation. | |
virtual const void * | act () const =0 |
ACT associated with the operation. | |
virtual int | success () const =0 |
Did the operation succeed? | |
virtual const void * | completion_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. | |
Abstract base class for the all the classes that provide concrete implementations for ACE_Asynch_Result.
|
virtual |
|
inlineprotected |
Do-nothing constructor.
ACT associated with the operation.
Implemented in ACE_POSIX_Asynch_Result.
Number of bytes transferred by the operation.
Implemented in ACE_POSIX_Asynch_Result.
|
pure virtual |
This is called when the asynchronous operation completes.
Implemented in ACE_POSIX_Asynch_Read_Stream_Result, ACE_POSIX_Asynch_Write_Stream_Result, ACE_POSIX_Asynch_Read_File_Result, ACE_POSIX_Asynch_Write_File_Result, ACE_POSIX_Asynch_Accept_Result, ACE_POSIX_Asynch_Connect_Result, ACE_POSIX_Asynch_Transmit_File_Result, ACE_POSIX_Asynch_Write_Dgram_Result, ACE_POSIX_Asynch_Read_Dgram_Result, ACE_POSIX_Asynch_Timer, and ACE_POSIX_Wakeup_Completion.
This ACT is not the same as the ACT associated with the asynchronous operation.
Implemented in ACE_POSIX_Asynch_Result.
Error value if the operation fail.
Implemented in ACE_POSIX_Asynch_Result.
|
pure virtual |
Event associated with the OVERLAPPED structure.
Implemented in ACE_POSIX_Asynch_Result.
This really make sense only when doing file I/O.
Implemented in ACE_POSIX_Asynch_Result.
Implemented in ACE_POSIX_Asynch_Result.
|
pure virtual |
Post this
to the Proactor's completion port.
Implemented in ACE_POSIX_Asynch_Result.
Priority of the operation.
Implemented in ACE_POSIX_Asynch_Result.
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.
Did the operation succeed?
Implemented in ACE_POSIX_Asynch_Result.