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

ACE_Asynch_Read_File::Result Class Reference

This is that class which will be passed back to the <handler> when the asynchronous read completes. This class forwards all the methods to the implementation class. More...

#include <Asynch_IO.h>

Inheritance diagram for ACE_Asynch_Read_File::Result:

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

Collaboration graph
[legend]
List of all members.

Public Methods

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


Protected Methods

 Result (ACE_Asynch_Read_File_Result_Impl *implementation)
 Constructor. This implementation will not be deleted. More...

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


Protected Attributes

ACE_Asynch_Read_File_Result_Implimplementation_
 The implementation class. More...


Private Methods

void operator= (Result &)
 Here just to provide an dummpy implementation, since the one auto generated by MSVC is flagged as infinitely recursive. More...


Friends

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

class ACE_WIN32_Asynch_Read_File_Result

Detailed Description

This is that class which will be passed back to the <handler> when the asynchronous read 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 read. This class differs slightly from ACE_Asynch_Read_Stream::Result as it calls back <ACE_Handler::handle_read_file> on the <handler> instead of <ACE_Handler::handle_read_stream>. No additional state is required by this class as ACE_Asynch_Result can store the <offset>.

Definition at line 597 of file Asynch_IO.h.


Constructor & Destructor Documentation

ACE_Asynch_Read_File::Result::Result ACE_Asynch_Read_File_Result_Impl   implementation [protected]
 

Constructor. This implementation will not be deleted.

Definition at line 494 of file Asynch_IO.cpp.

00495   : ACE_Asynch_Read_Stream::Result (implementation),
00496     implementation_ (implementation)
00497 {
00498 }

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

Destructor.

Reimplemented from ACE_Asynch_Read_Stream::Result.

Definition at line 500 of file Asynch_IO.cpp.

00501 {
00502   // Proactor will delete the implementation when <complete> call
00503   // completes.
00504 }


Member Function Documentation

ACE_Asynch_Read_File_Result_Impl * ACE_Asynch_Read_File::Result::implementation void    const
 

Get the implementation class.

Reimplemented from ACE_Asynch_Read_Stream::Result.

Definition at line 507 of file Asynch_IO.cpp.

References implementation_.

00508 {
00509   return this->implementation_;
00510 }

void ACE_Asynch_Read_File::Result::operator= Result &    [inline, private]
 

Here just to provide an dummpy implementation, since the one auto generated by MSVC is flagged as infinitely recursive.

Definition at line 622 of file Asynch_IO.h.

00622 {}


Friends And Related Function Documentation

friend class ACE_POSIX_Asynch_Read_File_Result [friend]
 

The concrete implementation result classes only construct this class.

Definition at line 602 of file Asynch_IO.h.

friend class ACE_WIN32_Asynch_Read_File_Result [friend]
 

Definition at line 603 of file Asynch_IO.h.


Member Data Documentation

ACE_Asynch_Read_File_Result_Impl* ACE_Asynch_Read_File::Result::implementation_ [protected]
 

The implementation class.

Reimplemented from ACE_Asynch_Read_Stream::Result.

Definition at line 617 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:24 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002