#include <Asynch_IO.h>
Inheritance diagram for ACE_Asynch_Read_Stream::Result:


Public Methods | |
| size_t | bytes_to_read (void) const |
| The number of bytes which were requested at the start of the asynchronous read. More... | |
| ACE_Message_Block & | message_block (void) const |
| Message block which contains the read data. More... | |
| ACE_HANDLE | handle (void) const |
| I/O handle used for reading. More... | |
| ACE_Asynch_Read_Stream_Result_Impl * | implementation (void) const |
| Get the implementation class. More... | |
Protected Methods | |
| Result (ACE_Asynch_Read_Stream_Result_Impl *implementation) | |
| Constructor. More... | |
| virtual | ~Result (void) |
| Destructor. More... | |
Protected Attributes | |
| ACE_Asynch_Read_Stream_Result_Impl * | implementation_ |
| The implementation class. More... | |
Friends | |
| class | ACE_POSIX_Asynch_Read_Stream_Result |
| The concrete implementation result classes only construct this class. More... | |
| 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 331 of file Asynch_IO.h.
|
|
Constructor.
Definition at line 260 of file Asynch_IO.cpp. References ACE_Asynch_Read_Stream::implementation, and ACE_Asynch_Read_Stream::implementation_.
00261 : ACE_Asynch_Result (implementation), 00262 implementation_ (implementation) 00263 { 00264 } |
|
|
Destructor.
Reimplemented in ACE_Asynch_Read_File::Result. Definition at line 266 of file Asynch_IO.cpp.
00267 {
00268 // Proactor will delete the implementation after <complete> is
00269 // finished.
00270 }
|
|
|
The number of bytes which were requested at the start of the asynchronous read.
Definition at line 243 of file Asynch_IO.cpp. References ACE_Asynch_Read_Stream_Result_Impl::bytes_to_read, and implementation.
00244 {
00245 return this->implementation ()->bytes_to_read ();
00246 }
|
|
|
I/O handle used for reading.
Definition at line 255 of file Asynch_IO.cpp. References ACE_Asynch_Read_Stream_Result_Impl::handle, and implementation.
00256 {
00257 return this->implementation ()->handle ();
00258 }
|
|
|
Get the implementation class.
Reimplemented from ACE_Asynch_Result. Reimplemented in ACE_Asynch_Read_File::Result. Definition at line 273 of file Asynch_IO.cpp. References implementation_. Referenced by bytes_to_read, handle, and message_block.
00274 {
00275 return this->implementation_;
00276 }
|
|
|
Message block which contains the read data.
Definition at line 249 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.
00250 {
00251 return this->implementation ()->message_block ();
00252 }
|
|
|
The concrete implementation result classes only construct this class.
Definition at line 336 of file Asynch_IO.h. |
|
|
Definition at line 337 of file Asynch_IO.h. |
|
|
The implementation class.
Reimplemented from ACE_Asynch_Result. Reimplemented in ACE_Asynch_Read_File::Result. Definition at line 361 of file Asynch_IO.h. Referenced by implementation. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002