#include <POSIX_Asynch_IO.h>
Inheritance diagram for ACE_POSIX_Asynch_Write_File_Result:


Protected Methods | |
| ACE_POSIX_Asynch_Write_File_Result (ACE_Handler &handler, ACE_HANDLE handle, ACE_Message_Block &message_block, size_t bytes_to_write, const void *act, u_long offset, u_long offset_high, ACE_HANDLE event, int priority, int signal_number) | |
| Constructor is protected since creation is limited to ACE_Asynch_Write_File factory. More... | |
| virtual void | complete (size_t bytes_transferred, int success, const void *completion_key, u_long error) |
| ACE_Proactor will call this method when the write completes. More... | |
| virtual | ~ACE_POSIX_Asynch_Write_File_Result (void) |
| Destructor. More... | |
Friends | |
| class | ACE_POSIX_Asynch_Write_File |
| Factory classes will have special permissions. More... | |
| class | ACE_POSIX_Proactor |
| The Proactor constructs the Result class for faking results. More... | |
This class has all the information necessary for the <handler> to uniquiely identify the completion of the asynchronous write.
This class differs slightly from <ACE_Asynch_Write_Stream::Result> as it calls back <ACE_Handler::handle_write_file> on the <handler> instead of <ACE_Handler::handle_write_stream>. No additional state is required by this class as <ACE_Asynch_Result> can store the <offset>.
Definition at line 499 of file POSIX_Asynch_IO.h.
|
||||||||||||||||||||||||||||||||||||||||||||
|
Constructor is protected since creation is limited to ACE_Asynch_Write_File factory.
Definition at line 586 of file POSIX_Asynch_IO.cpp.
00596 : ACE_Asynch_Result_Impl (), 00597 ACE_Asynch_Write_Stream_Result_Impl (), 00598 ACE_Asynch_Write_File_Result_Impl (), 00599 ACE_POSIX_Asynch_Write_Stream_Result (handler, 00600 handle, 00601 message_block, 00602 bytes_to_write, 00603 act, 00604 event, 00605 priority, 00606 signal_number) 00607 { 00608 this->aio_offset = offset; 00609 // 00610 // @@ Support offset_high with aiocb64. 00611 // 00612 ACE_UNUSED_ARG (offset_high); 00613 } |
|
|
Destructor.
Definition at line 640 of file POSIX_Asynch_IO.cpp.
00641 {
00642 }
|
|
||||||||||||||||||||
|
|
Factory classes will have special permissions.
Definition at line 503 of file POSIX_Asynch_IO.h. |
|
|
The Proactor constructs the Result class for faking results.
Reimplemented from ACE_POSIX_Asynch_Write_Stream_Result. Definition at line 506 of file POSIX_Asynch_IO.h. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002