Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

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 Methods

size_t bytes_to_write (void) const
 The number of bytes which were requested at the start of the asynchronous write. More...

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

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

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

ACE_Asynch_Write_Dgram_Result_Implimplementation (void) const
 Get the implementation class. More...


Protected Methods

 Result (ACE_Asynch_Write_Dgram_Result_Impl *implementation)
 Constructor. More...

virtual ~Result (void)
 Destructor. More...


Protected Attributes

ACE_Asynch_Write_Dgram_Result_Implimplementation_
 Implementation class. More...


Friends

class ACE_POSIX_Asynch_Write_Dgram_Result
 The concrete implementation result classes only construct this class. More...

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 1424 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 1443 of file Asynch_IO.cpp.

References ACE_Asynch_Write_Dgram::implementation, and ACE_Asynch_Write_Dgram::implementation_.

01444 : ACE_Asynch_Result (implementation),
01445   implementation_ (implementation)
01446 {
01447 }

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

Destructor.

Definition at line 1449 of file Asynch_IO.cpp.

01450 {
01451 }


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 1414 of file Asynch_IO.cpp.

References ACE_Asynch_Write_Dgram_Result_Impl::bytes_to_write, and implementation.

01415 {
01416   return this->implementation ()->bytes_to_write ();
01417 }

int ACE_Asynch_Write_Dgram::Result::flags void    const
 

The flags using in the write.

Definition at line 1426 of file Asynch_IO.cpp.

References ACE_Asynch_Write_Dgram_Result_Impl::flags, and implementation.

01427 {
01428   return this->implementation ()->flags ();
01429 }

ACE_HANDLE ACE_Asynch_Write_Dgram::Result::handle void    const
 

I/O handle used for writing.

Definition at line 1432 of file Asynch_IO.cpp.

References ACE_Asynch_Write_Dgram_Result_Impl::handle, and implementation.

01433 {
01434   return this->implementation ()->handle ();
01435 }

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 1438 of file Asynch_IO.cpp.

References implementation_.

Referenced by bytes_to_write, flags, handle, and message_block.

01439 {
01440   return this->implementation_;
01441 }

ACE_Message_Block * ACE_Asynch_Write_Dgram::Result::message_block void    const
 

Message block which contains the sent data.

Definition at line 1420 of file Asynch_IO.cpp.

References implementation, and ACE_Asynch_Write_Dgram_Result_Impl::message_block.

01421 {
01422   return this->implementation ()->message_block ();
01423 }


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 1429 of file Asynch_IO.h.

friend class ACE_WIN32_Asynch_Write_Dgram_Result [friend]
 

Definition at line 1430 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 1458 of file Asynch_IO.h.

Referenced by implementation.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 12:45:39 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002