ACE
6.3.1
|
This is that class which will be passed back to the {handler} when the asynchronous transmit file completes. More...
#include <Asynch_IO.h>
Public Member Functions | |
ACE_HANDLE | socket (void) const |
Socket used for transmitting the file. More... | |
ACE_HANDLE | file (void) const |
File from which the data is read. More... | |
Header_And_Trailer * | header_and_trailer (void) const |
Header and trailer data associated with this transmit file. More... | |
size_t | bytes_to_write (void) const |
size_t | bytes_per_send (void) const |
unsigned long | flags (void) const |
Flags which were passed into transmit file. More... | |
ACE_Asynch_Transmit_File_Result_Impl * | implementation (void) const |
Get the implementation class. More... | |
![]() | |
size_t | bytes_transferred (void) const |
Number of bytes transferred by the operation. More... | |
const void * | act (void) const |
ACT associated with the operation. More... | |
int | success (void) const |
Did the operation succeed? More... | |
const void * | completion_key (void) const |
unsigned long | error (void) const |
Error value if the operation fails. More... | |
ACE_HANDLE | event (void) const |
unsigned long | offset (void) const |
unsigned long | offset_high (void) const |
int | priority (void) const |
int | signal_number (void) const |
virtual | ~ACE_Asynch_Result (void) |
Destructor. More... | |
Protected Member Functions | |
Result (ACE_Asynch_Transmit_File_Result_Impl *implementation) | |
Constructor. More... | |
virtual | ~Result (void) |
Destructor. More... | |
![]() | |
ACE_Asynch_Result (ACE_Asynch_Result_Impl *implementation) | |
ACE_Asynch_Result_Impl * | implementation (void) const |
Get the implementation class. More... | |
Protected Attributes | |
ACE_Asynch_Transmit_File_Result_Impl * | implementation_ |
The implementation class. More... | |
![]() | |
ACE_Asynch_Result_Impl * | implementation_ |
Implementation class. More... | |
Friends | |
class | ACE_POSIX_Asynch_Transmit_File_Result |
class | ACE_WIN32_Asynch_Transmit_File_Result |
This is that class which will be passed back to the {handler} when the asynchronous transmit file completes.
This class has all the information necessary for the {handler} to uniquiely identify the completion of the asynchronous transmit file.
|
protected |
Constructor.
|
protectedvirtual |
Destructor.
size_t ACE_Asynch_Transmit_File::Result::bytes_per_send | ( | void | ) | const |
Number of bytes per send requested at the start of the transmit file.
size_t ACE_Asynch_Transmit_File::Result::bytes_to_write | ( | void | ) | const |
The number of bytes which were requested at the start of the asynchronous transmit file.
ACE_HANDLE ACE_Asynch_Transmit_File::Result::file | ( | void | ) | const |
File from which the data is read.
unsigned long ACE_Asynch_Transmit_File::Result::flags | ( | void | ) | const |
Flags which were passed into transmit file.
ACE_Asynch_Transmit_File::Header_And_Trailer * ACE_Asynch_Transmit_File::Result::header_and_trailer | ( | void | ) | const |
Header and trailer data associated with this transmit file.
ACE_Asynch_Transmit_File_Result_Impl * ACE_Asynch_Transmit_File::Result::implementation | ( | void | ) | const |
Get the implementation class.
ACE_HANDLE ACE_Asynch_Transmit_File::Result::socket | ( | void | ) | const |
Socket used for transmitting the file.
|
friend |
The concrete implementation result classes only construct this class.
|
friend |
|
protected |
The implementation class.