ACE_Asynch_Write_Dgram::Result Class Reference

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>

Inheritance diagram for ACE_Asynch_Write_Dgram::Result:

Inheritance graph
[legend]
Collaboration diagram for ACE_Asynch_Write_Dgram::Result:

Collaboration graph
[legend]
List of all members.

Public Member Functions

size_t bytes_to_write (void) const
ACE_Message_Blockmessage_block (void) const
 Message block which contains the sent data.

int flags (void) const
 The flags using in the write.

ACE_HANDLE handle (void) const
 I/O handle used for writing.

ACE_Asynch_Write_Dgram_Result_Implimplementation (void) const
 Get the implementation class.


Protected Member Functions

 Result (ACE_Asynch_Write_Dgram_Result_Impl *implementation)
 Constructor.

virtual ~Result (void)
 Destructor.


Protected Attributes

ACE_Asynch_Write_Dgram_Result_Implimplementation_
 Implementation class.


Friends

class ACE_POSIX_Asynch_Write_Dgram_Result
class ACE_WIN32_Asynch_Write_Dgram_Result

Detailed Description

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.

Definition at line 1466 of file Asynch_IO.h.


Constructor & Destructor Documentation

ACE_Asynch_Write_Dgram::Result::Result ACE_Asynch_Write_Dgram_Result_Impl implementation  )  [protected]
 

Constructor.

Definition at line 1323 of file Asynch_IO.cpp.

01324 : ACE_Asynch_Result (implementation),
01325   implementation_ (implementation)
01326 {
01327 }

ACE_Asynch_Write_Dgram::Result::~Result void   )  [protected, virtual]
 

Destructor.

Definition at line 1329 of file Asynch_IO.cpp.

01330 {
01331 }


Member Function Documentation

size_t ACE_Asynch_Write_Dgram::Result::bytes_to_write void   )  const
 

The number of bytes which were requested at the start of the asynchronous write.

Definition at line 1294 of file Asynch_IO.cpp.

References ACE_Asynch_Write_Dgram_Result_Impl::bytes_to_write(), and implementation().

01295 {
01296   return this->implementation ()->bytes_to_write ();
01297 }

int ACE_Asynch_Write_Dgram::Result::flags void   )  const
 

The flags using in the write.

Definition at line 1306 of file Asynch_IO.cpp.

References ACE_Asynch_Write_Dgram_Result_Impl::flags(), and implementation().

01307 {
01308   return this->implementation ()->flags ();
01309 }

ACE_HANDLE ACE_Asynch_Write_Dgram::Result::handle void   )  const
 

I/O handle used for writing.

Definition at line 1312 of file Asynch_IO.cpp.

References ACE_Asynch_Write_Dgram_Result_Impl::handle(), and implementation().

01313 {
01314   return this->implementation ()->handle ();
01315 }

ACE_Asynch_Write_Dgram_Result_Impl * ACE_Asynch_Write_Dgram::Result::implementation void   )  const
 

Get the implementation class.

Reimplemented from ACE_Asynch_Result.

Definition at line 1318 of file Asynch_IO.cpp.

Referenced by bytes_to_write(), flags(), handle(), and message_block().

01319 {
01320   return this->implementation_;
01321 }

ACE_Message_Block * ACE_Asynch_Write_Dgram::Result::message_block void   )  const
 

Message block which contains the sent data.

Definition at line 1300 of file Asynch_IO.cpp.

References implementation(), and ACE_Asynch_Write_Dgram_Result_Impl::message_block().

01301 {
01302   return this->implementation ()->message_block ();
01303 }


Friends And Related Function Documentation

friend class ACE_POSIX_Asynch_Write_Dgram_Result [friend]
 

The concrete implementation result classes only construct this class.

Definition at line 1471 of file Asynch_IO.h.

friend class ACE_WIN32_Asynch_Write_Dgram_Result [friend]
 

Definition at line 1472 of file Asynch_IO.h.


Member Data Documentation

ACE_Asynch_Write_Dgram_Result_Impl* ACE_Asynch_Write_Dgram::Result::implementation_ [protected]
 

Implementation class.

Reimplemented from ACE_Asynch_Result.

Definition at line 1500 of file Asynch_IO.h.


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 11:19:53 2006 for ACE by doxygen 1.3.6