#include <Asynch_IO.h>
Inheritance diagram for ACE_Asynch_Read_Dgram::Result:
Public Member Functions | |
size_t | bytes_to_read (void) const |
ACE_Message_Block * | message_block (void) const |
Message block which contains the read data. | |
int | flags (void) const |
The flags used in the read. | |
int | remote_address (ACE_Addr &addr) const |
The address of where the packet came from. | |
ACE_HANDLE | handle (void) const |
I/O handle used for reading. | |
ACE_Asynch_Read_Dgram_Result_Impl * | implementation (void) const |
Get the implementation class. | |
Protected Member Functions | |
Result (ACE_Asynch_Read_Dgram_Result_Impl *implementation) | |
Constructor. | |
virtual | ~Result (void) |
Destructor. | |
Protected Attributes | |
ACE_Asynch_Read_Dgram_Result_Impl * | implementation_ |
The implementation class. | |
Friends | |
class | ACE_POSIX_Asynch_Read_Dgram_Result |
class | ACE_WIN32_Asynch_Read_Dgram_Result |
This class has all the information necessary for the {handler} to uniquiely identify the completion of the asynchronous read.
Definition at line 1333 of file Asynch_IO.h.
|
Constructor.
Definition at line 1216 of file Asynch_IO.cpp.
01217 : ACE_Asynch_Result (implementation), 01218 implementation_ (implementation) 01219 { 01220 } |
|
Destructor.
Definition at line 1222 of file Asynch_IO.cpp.
01223 { 01224 } |
|
The number of bytes which were requested at the start of the asynchronous read. Definition at line 1205 of file Asynch_IO.cpp. References ACE_Asynch_Read_Dgram_Result_Impl::bytes_to_read(), and implementation().
01206 { 01207 return this->implementation ()->bytes_to_read (); 01208 } |
|
The flags used in the read.
Definition at line 1199 of file Asynch_IO.cpp. References ACE_Asynch_Read_Dgram_Result_Impl::flags(), and implementation().
01200 { 01201 return this->implementation ()->flags (); 01202 } |
|
I/O handle used for reading.
Definition at line 1211 of file Asynch_IO.cpp. References ACE_Asynch_Read_Dgram_Result_Impl::handle(), and implementation().
01212 { 01213 return this->implementation ()->handle(); 01214 } |
|
Get the implementation class.
Reimplemented from ACE_Asynch_Result. Definition at line 1227 of file Asynch_IO.cpp. Referenced by bytes_to_read(), flags(), handle(), message_block(), and remote_address().
01228 { 01229 return this->implementation_; 01230 } |
|
Message block which contains the read data.
Definition at line 1193 of file Asynch_IO.cpp. References implementation(), and ACE_Asynch_Read_Dgram_Result_Impl::message_block().
01194 { 01195 return this->implementation ()->message_block (); 01196 } |
|
The address of where the packet came from.
Definition at line 1187 of file Asynch_IO.cpp. References implementation(), and ACE_Asynch_Read_Dgram_Result_Impl::remote_address().
01188 { 01189 return this->implementation ()->remote_address (addr); 01190 } |
|
The concrete implementation result classes only construct this class. Definition at line 1338 of file Asynch_IO.h. |
|
Definition at line 1339 of file Asynch_IO.h. |
|
The implementation class.
Reimplemented from ACE_Asynch_Result. Definition at line 1370 of file Asynch_IO.h. |