ACE
6.1.8
|
This is the class which will be passed back to the {handler} when the asynchronous read completes. This class forwards all the methods to the implementation classes. More...
#include <Asynch_IO.h>
Public Member Functions | |
size_t | bytes_to_read (void) const |
ACE_Message_Block * | message_block (void) const |
Message block which contains the read data. More... | |
int | flags (void) const |
The flags used in the read. More... | |
int | remote_address (ACE_Addr &addr) const |
The address of where the packet came from. More... | |
ACE_HANDLE | handle (void) const |
I/O handle used for reading. More... | |
ACE_Asynch_Read_Dgram_Result_Impl * | implementation (void) const |
Get the implementation class. More... | |
![]() | |
size_t | bytes_transferred (void) const |
Number of bytes transferred by the operation. More... | |
const void * | act (void) const |
ACT associated with the operation. More... | |
int | success (void) const |
Did the operation succeed? More... | |
const void * | completion_key (void) const |
unsigned long | error (void) const |
Error value if the operation fails. More... | |
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. More... | |
Protected Member Functions | |
Result (ACE_Asynch_Read_Dgram_Result_Impl *implementation) | |
Constructor. More... | |
virtual | ~Result (void) |
Destructor. More... | |
![]() | |
ACE_Asynch_Result (ACE_Asynch_Result_Impl *implementation) | |
ACE_Asynch_Result_Impl * | implementation (void) const |
Get the implementation class. More... | |
Protected Attributes | |
ACE_Asynch_Read_Dgram_Result_Impl * | implementation_ |
The implementation class. More... | |
![]() | |
ACE_Asynch_Result_Impl * | implementation_ |
Implementation class. More... | |
Friends | |
class | ACE_POSIX_Asynch_Read_Dgram_Result |
class | ACE_WIN32_Asynch_Read_Dgram_Result |
This is the class which will be passed back to the {handler} when the asynchronous read completes. This class forwards all the methods to the implementation classes.
This class has all the information necessary for the {handler} to uniquiely identify the completion of the asynchronous read.
|
protected |
Constructor.
|
protectedvirtual |
Destructor.
size_t ACE_Asynch_Read_Dgram::Result::bytes_to_read | ( | void | ) | const |
The number of bytes which were requested at the start of the asynchronous read.
int ACE_Asynch_Read_Dgram::Result::flags | ( | void | ) | const |
The flags used in the read.
ACE_HANDLE ACE_Asynch_Read_Dgram::Result::handle | ( | void | ) | const |
I/O handle used for reading.
ACE_Asynch_Read_Dgram_Result_Impl * ACE_Asynch_Read_Dgram::Result::implementation | ( | void | ) | const |
Get the implementation class.
ACE_Message_Block * ACE_Asynch_Read_Dgram::Result::message_block | ( | void | ) | const |
Message block which contains the read data.
int ACE_Asynch_Read_Dgram::Result::remote_address | ( | ACE_Addr & | addr | ) | const |
The address of where the packet came from.
|
friend |
The concrete implementation result classes only construct this class.
|
friend |
|
protected |
The implementation class.