ACE
6.1.0
|
This is the class which will be passed back to the ACE_Handler::handle_read_stream 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. | |
ACE_HANDLE | handle (void) const |
I/O handle used for reading. | |
ACE_Asynch_Read_Stream_Result_Impl * | implementation (void) const |
Get the implementation class. | |
Protected Member Functions | |
Result (ACE_Asynch_Read_Stream_Result_Impl *implementation) | |
Constructor. | |
virtual | ~Result (void) |
Destructor. | |
Protected Attributes | |
ACE_Asynch_Read_Stream_Result_Impl * | implementation_ |
The implementation class. | |
Friends | |
class | ACE_POSIX_Asynch_Read_Stream_Result |
class | ACE_WIN32_Asynch_Read_Stream_Result |
This is the class which will be passed back to the ACE_Handler::handle_read_stream 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.
ACE_Asynch_Read_Stream::Result::Result | ( | ACE_Asynch_Read_Stream_Result_Impl * | implementation | ) | [protected] |
Constructor.
ACE_Asynch_Read_Stream::Result::~Result | ( | void | ) | [protected, virtual] |
Destructor.
Reimplemented in ACE_Asynch_Read_File::Result.
size_t ACE_Asynch_Read_Stream::Result::bytes_to_read | ( | void | ) | const |
The number of bytes which were requested at the start of the asynchronous read.
ACE_HANDLE ACE_Asynch_Read_Stream::Result::handle | ( | void | ) | const |
I/O handle used for reading.
ACE_Asynch_Read_Stream_Result_Impl * ACE_Asynch_Read_Stream::Result::implementation | ( | void | ) | const |
Get the implementation class.
Reimplemented from ACE_Asynch_Result.
Reimplemented in ACE_Asynch_Read_File::Result.
ACE_Message_Block & ACE_Asynch_Read_Stream::Result::message_block | ( | void | ) | const |
Message block which contains the read data.
friend class ACE_POSIX_Asynch_Read_Stream_Result [friend] |
The concrete implementation result classes only construct this class.
friend class ACE_WIN32_Asynch_Read_Stream_Result [friend] |
The implementation class.
Reimplemented from ACE_Asynch_Result.
Reimplemented in ACE_Asynch_Read_File::Result.