|
ACE 8.0.1
|
This is that class which will be passed back to the {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 () const |
| ACE_Message_Block * | message_block () const |
| Message block which contains the sent data. | |
| int | flags () const |
| The flags using in the write. | |
| ACE_HANDLE | handle () const |
| I/O handle used for writing. | |
| ACE_Asynch_Write_Dgram_Result_Impl * | implementation () const |
| Get the implementation class. | |
Public Member Functions inherited from ACE_Asynch_Result | |
| size_t | bytes_transferred () const |
| Number of bytes transferred by the operation. | |
| const void * | act () const |
| ACT associated with the operation. | |
| int | success () const |
| Did the operation succeed? | |
| const void * | completion_key () const |
| unsigned long | error () const |
| Error value if the operation fails. | |
| ACE_HANDLE | event () const |
| unsigned long | offset () const |
| unsigned long | offset_high () const |
| int | priority () const |
| int | signal_number () const |
| virtual | ~ACE_Asynch_Result () |
| Destructor. | |
Protected Member Functions | |
| Result (ACE_Asynch_Write_Dgram_Result_Impl *implementation) | |
| Constructor. | |
| virtual | ~Result () |
| Destructor. | |
Protected Member Functions inherited from ACE_Asynch_Result | |
| ACE_Asynch_Result (ACE_Asynch_Result_Impl *implementation) | |
| ACE_Asynch_Result_Impl * | implementation () const |
| Get the implementation class. | |
Protected Attributes | |
| ACE_Asynch_Write_Dgram_Result_Impl * | implementation_ |
| Implementation class. | |
Protected Attributes inherited from ACE_Asynch_Result | |
| ACE_Asynch_Result_Impl * | implementation_ |
| Implementation class. | |
Friends | |
| class | ACE_POSIX_Asynch_Write_Dgram_Result |
| class | ACE_WIN32_Asynch_Write_Dgram_Result |
This is that class which will be passed back to the {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.
| size_t ACE_Asynch_Write_Dgram::Result::bytes_to_write | ( | ) | const |
The number of bytes which were requested at the start of the asynchronous write.
| int ACE_Asynch_Write_Dgram::Result::flags | ( | ) | const |
The flags using in the write.
| ACE_HANDLE ACE_Asynch_Write_Dgram::Result::handle | ( | ) | const |
I/O handle used for writing.
| ACE_Asynch_Write_Dgram_Result_Impl * ACE_Asynch_Write_Dgram::Result::implementation | ( | ) | const |
Get the implementation class.
| ACE_Message_Block * ACE_Asynch_Write_Dgram::Result::message_block | ( | ) | const |
Message block which contains the sent data.
The concrete implementation result classes only construct this class.
|
protected |
Implementation class.