#include <Asynch_IO.h>
Inheritance diagram for ACE_Asynch_Read_Stream::Result:
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 class has all the information necessary for the {handler} to uniquiely identify the completion of the asynchronous read.
Definition at line 373 of file Asynch_IO.h.
|
Constructor.
Definition at line 232 of file Asynch_IO.cpp.
00233 : ACE_Asynch_Result (implementation), 00234 implementation_ (implementation) 00235 { 00236 } |
|
Destructor.
Reimplemented in ACE_Asynch_Read_File::Result. Definition at line 238 of file Asynch_IO.cpp.
00239 { 00240 // Proactor will delete the implementation after <complete> is 00241 // finished. 00242 } |
|
The number of bytes which were requested at the start of the asynchronous read. Definition at line 215 of file Asynch_IO.cpp. References ACE_Asynch_Read_Stream_Result_Impl::bytes_to_read(), and implementation().
00216 { 00217 return this->implementation ()->bytes_to_read (); 00218 } |
|
I/O handle used for reading.
Definition at line 227 of file Asynch_IO.cpp. References ACE_Asynch_Read_Stream_Result_Impl::handle(), and implementation().
00228 { 00229 return this->implementation ()->handle (); 00230 } |
|
Get the implementation class.
Reimplemented from ACE_Asynch_Result. Reimplemented in ACE_Asynch_Read_File::Result. Definition at line 245 of file Asynch_IO.cpp. Referenced by bytes_to_read(), handle(), and message_block().
00246 { 00247 return this->implementation_; 00248 } |
|
Message block which contains the read data.
Definition at line 221 of file Asynch_IO.cpp. References implementation(), and ACE_Asynch_Read_Stream_Result_Impl::message_block(). Referenced by ACE_POSIX_Asynch_Transmit_Handler::handle_read_file().
00222 { 00223 return this->implementation ()->message_block (); 00224 } |
|
The concrete implementation result classes only construct this class. Definition at line 378 of file Asynch_IO.h. |
|
Definition at line 379 of file Asynch_IO.h. |
|
The implementation class.
Reimplemented from ACE_Asynch_Result. Reimplemented in ACE_Asynch_Read_File::Result. Definition at line 403 of file Asynch_IO.h. |