#include <POSIX_Asynch_IO.h>
Inheritance diagram for ACE_POSIX_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... | |
Protected Methods | |
| ACE_POSIX_Asynch_Read_Stream_Result (ACE_Handler &handler, ACE_HANDLE handle, ACE_Message_Block &message_block, size_t bytes_to_read, const void *act, ACE_HANDLE event, int priority, int signal_number) | |
| virtual void | complete (size_t bytes_transferred, int success, const void *completion_key, u_long error) |
| Get the data copied to this class, before calling application handler. More... | |
| virtual | ~ACE_POSIX_Asynch_Read_Stream_Result (void) |
| Destructor. More... | |
Protected Attributes | |
| ACE_Message_Block & | message_block_ |
| Message block for reading the data into. More... | |
Friends | |
| class | ACE_POSIX_Asynch_Read_Stream |
| Factory classes will have special permissions. More... | |
| class | ACE_POSIX_Proactor |
| The Proactor constructs the Result class for faking results. More... | |
Definition at line 218 of file POSIX_Asynch_IO.h.
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 234 of file POSIX_Asynch_IO.cpp. References bytes_to_read, ACE_POSIX_Asynch_Result::event, handle, and ACE_Message_Block::wr_ptr.
00242 : ACE_Asynch_Result_Impl (), 00243 ACE_Asynch_Read_Stream_Result_Impl (), 00244 ACE_POSIX_Asynch_Result (handler, act, event, 0, 0, priority, signal_number), 00245 message_block_ (message_block) 00246 { 00247 this->aio_fildes = handle; 00248 this->aio_buf = message_block.wr_ptr (); 00249 this->aio_nbytes = bytes_to_read; 00250 ACE_UNUSED_ARG (event); 00251 } |
|
|
Destructor.
Definition at line 277 of file POSIX_Asynch_IO.cpp.
00278 {
00279 }
|
|
|
The number of bytes which were requested at the start of the asynchronous read.
Implements ACE_Asynch_Read_Stream_Result_Impl. Definition at line 217 of file POSIX_Asynch_IO.cpp. Referenced by ACE_POSIX_Asynch_Read_Stream_Result.
00218 {
00219 return this->aio_nbytes;
00220 }
|
|
||||||||||||||||||||
|
|
I/O handle used for reading.
Implements ACE_Asynch_Read_Stream_Result_Impl. Definition at line 229 of file POSIX_Asynch_IO.cpp. Referenced by ACE_POSIX_Asynch_Read_Stream_Result.
00230 {
00231 return this->aio_fildes;
00232 }
|
|
|
Message block which contains the read data.
Implements ACE_Asynch_Read_Stream_Result_Impl. Definition at line 223 of file POSIX_Asynch_IO.cpp. References message_block_.
00224 {
00225 return this->message_block_;
00226 }
|
|
|
Factory classes will have special permissions.
Definition at line 223 of file POSIX_Asynch_IO.h. |
|
|
The Proactor constructs the Result class for faking results.
Reimplemented in ACE_POSIX_Asynch_Read_File_Result. Definition at line 226 of file POSIX_Asynch_IO.h. |
|
|
Message block for reading the data into.
Definition at line 265 of file POSIX_Asynch_IO.h. Referenced by ACE_POSIX_Asynch_Read_File_Result::complete, complete, and message_block. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002