ACE 7.0.6
|
This is that class which will be passed back to the {handler} when the asynchronous write completes. This class forwards all the methods to the implementation class. More...
#include <Asynch_IO.h>
Public Member Functions | |
ACE_Asynch_Write_File_Result_Impl * | implementation () const |
Get the implementation class. More... | |
![]() | |
size_t | bytes_to_write () const |
ACE_Message_Block & | message_block () const |
Message block that contains the data to be written. More... | |
ACE_HANDLE | handle () const |
I/O handle used for writing. More... | |
ACE_Asynch_Write_Stream_Result_Impl * | implementation () const |
Get the implementation class. More... | |
![]() | |
size_t | bytes_transferred () const |
Number of bytes transferred by the operation. More... | |
const void * | act () const |
ACT associated with the operation. More... | |
int | success () const |
Did the operation succeed? More... | |
const void * | completion_key () const |
unsigned long | error () const |
Error value if the operation fails. More... | |
ACE_HANDLE | event () const |
unsigned long | offset () const |
unsigned long | offset_high () const |
int | priority () const |
int | signal_number () const |
virtual | ~ACE_Asynch_Result (void) |
Destructor. More... | |
Protected Member Functions | |
Result (ACE_Asynch_Write_File_Result_Impl *implementation) | |
Constructor. This implementation will not be deleted. More... | |
virtual | ~Result (void) |
Destructor. More... | |
![]() | |
Result (ACE_Asynch_Write_Stream_Result_Impl *implementation) | |
Constructor. More... | |
![]() | |
ACE_Asynch_Result (ACE_Asynch_Result_Impl *implementation) | |
ACE_Asynch_Result_Impl * | implementation () const |
Get the implementation class. More... | |
Protected Attributes | |
ACE_Asynch_Write_File_Result_Impl * | implementation_ |
The implementation class. More... | |
![]() | |
ACE_Asynch_Write_Stream_Result_Impl * | implementation_ |
Implementation class. More... | |
![]() | |
ACE_Asynch_Result_Impl * | implementation_ |
Implementation class. More... | |
Private Member Functions | |
void | operator= (Result &) |
Friends | |
class | ACE_POSIX_Asynch_Write_File_Result |
class | ACE_WIN32_Asynch_Write_File_Result |
This is that class which will be passed back to the {handler} when the asynchronous write completes. This class forwards all the methods to the implementation class.
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}.
|
protected |
Constructor. This implementation will not be deleted.
|
protectedvirtual |
Destructor.
Reimplemented from ACE_Asynch_Write_Stream::Result.
ACE_Asynch_Write_File_Result_Impl * ACE_Asynch_Write_File::Result::implementation | ( | ) | const |
Get the implementation class.
|
inlineprivate |
Here just to provide an dummy implementation, since the one auto generated by MSVC is flagged as infinitely recursive
|
friend |
The concrete implementation result classes only construct this class.
|
friend |
|
protected |
The implementation class.