#include <Asynch_IO.h>
Inheritance diagram for ACE_Asynch_Write_Stream::Result:
Public Member Functions | |
size_t | bytes_to_write (void) const |
ACE_Message_Block & | message_block (void) const |
Message block that contains the data to be written. | |
ACE_HANDLE | handle (void) const |
I/O handle used for writing. | |
ACE_Asynch_Write_Stream_Result_Impl * | implementation (void) const |
Get the implementation class. | |
Protected Member Functions | |
Result (ACE_Asynch_Write_Stream_Result_Impl *implementation) | |
Constructor. | |
virtual | ~Result (void) |
Destructor. | |
Protected Attributes | |
ACE_Asynch_Write_Stream_Result_Impl * | implementation_ |
Implementation class. | |
Friends | |
class | ACE_POSIX_Asynch_Write_Stream_Result |
class | ACE_WIN32_Asynch_Write_Stream_Result |
This class has all the information necessary for the {handler} to uniquiely identify the completion of the asynchronous write.
Definition at line 497 of file Asynch_IO.h.
|
Constructor.
Definition at line 340 of file Asynch_IO.cpp.
00341 : ACE_Asynch_Result (implementation), 00342 implementation_ (implementation) 00343 { 00344 } |
|
Destructor.
Reimplemented in ACE_Asynch_Write_File::Result. Definition at line 346 of file Asynch_IO.cpp.
00347 { 00348 // Proactor will delte the implementation when the <complete> call 00349 // finishes. 00350 } |
|
The number of bytes which were requested at the start of the asynchronous write. Definition at line 323 of file Asynch_IO.cpp. References ACE_Asynch_Write_Stream_Result_Impl::bytes_to_write(), and implementation(). Referenced by ACE_POSIX_Asynch_Transmit_Handler::handle_write_stream().
00324 { 00325 return this->implementation ()->bytes_to_write (); 00326 } |
|
I/O handle used for writing.
Definition at line 335 of file Asynch_IO.cpp. References ACE_Asynch_Write_Stream_Result_Impl::handle(), and implementation().
00336 { 00337 return this->implementation ()->handle (); 00338 } |
|
Get the implementation class.
Reimplemented from ACE_Asynch_Result. Reimplemented in ACE_Asynch_Write_File::Result. Definition at line 353 of file Asynch_IO.cpp. Referenced by bytes_to_write(), handle(), and message_block().
00354 { 00355 return this->implementation_; 00356 } |
|
Message block that contains the data to be written.
Definition at line 329 of file Asynch_IO.cpp. References implementation(), and ACE_Asynch_Write_Stream_Result_Impl::message_block(). Referenced by ACE_POSIX_Asynch_Transmit_Handler::handle_write_stream().
00330 { 00331 return this->implementation ()->message_block (); 00332 } |
|
The concrete implementation result classes only construct this class. Definition at line 502 of file Asynch_IO.h. |
|
Definition at line 503 of file Asynch_IO.h. |
|
Implementation class.
Reimplemented from ACE_Asynch_Result. Reimplemented in ACE_Asynch_Write_File::Result. Definition at line 527 of file Asynch_IO.h. |