ACE
6.1.6
|
This is that class which will be passed back to the ACE_Handler when the asynchronous write completes. This class forwards all the methods to the implementation class. More...
#include <Asynch_IO.h>
Public Member Functions | |
size_t | bytes_to_write (void) const |
ACE_Message_Block & | message_block (void) const |
Message block that contains the data to be written. | |
ACE_HANDLE | handle (void) const |
I/O handle used for writing. | |
ACE_Asynch_Write_Stream_Result_Impl * | implementation (void) const |
Get the implementation class. | |
![]() | |
size_t | bytes_transferred (void) const |
Number of bytes transferred by the operation. | |
const void * | act (void) const |
ACT associated with the operation. | |
int | success (void) const |
Did the operation succeed? | |
const void * | completion_key (void) const |
unsigned long | error (void) const |
Error value if the operation fails. | |
ACE_HANDLE | event (void) const |
unsigned long | offset (void) const |
unsigned long | offset_high (void) const |
int | priority (void) const |
int | signal_number (void) const |
virtual | ~ACE_Asynch_Result (void) |
Destructor. |
Protected Member Functions | |
Result (ACE_Asynch_Write_Stream_Result_Impl *implementation) | |
Constructor. | |
virtual | ~Result (void) |
Destructor. | |
![]() | |
ACE_Asynch_Result (ACE_Asynch_Result_Impl *implementation) |
Protected Attributes | |
ACE_Asynch_Write_Stream_Result_Impl * | implementation_ |
Implementation class. | |
![]() |
Friends | |
class | ACE_POSIX_Asynch_Write_Stream_Result |
class | ACE_WIN32_Asynch_Write_Stream_Result |
This is that class which will be passed back to the ACE_Handler when the asynchronous write completes. This class forwards all the methods to the implementation class.
This class has all the information necessary for the handler to uniquiely identify the completion of the asynchronous write.
|
protected |
Constructor.
|
protectedvirtual |
Destructor.
Reimplemented in ACE_Asynch_Write_File::Result.
size_t ACE_Asynch_Write_Stream::Result::bytes_to_write | ( | void | ) | const |
The number of bytes which were requested at the start of the asynchronous write.
ACE_HANDLE ACE_Asynch_Write_Stream::Result::handle | ( | void | ) | const |
I/O handle used for writing.
ACE_Asynch_Write_Stream_Result_Impl * ACE_Asynch_Write_Stream::Result::implementation | ( | void | ) | const |
Get the implementation class.
Reimplemented from ACE_Asynch_Result.
Reimplemented in ACE_Asynch_Write_File::Result.
ACE_Message_Block & ACE_Asynch_Write_Stream::Result::message_block | ( | void | ) | const |
Message block that contains the data to be written.
|
friend |
The concrete implementation result classes only construct this class.
|
friend |
|
protected |
Implementation class.
Reimplemented from ACE_Asynch_Result.
Reimplemented in ACE_Asynch_Write_File::Result.