ACE  6.3.3
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Friends | List of all members
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]

Public Member Functions

ACE_Asynch_Read_File_Result_Implimplementation (void) const
 Get the implementation class. More...
 
- Public Member Functions inherited from ACE_Asynch_Read_Stream::Result
size_t bytes_to_read (void) const
 
ACE_Message_Blockmessage_block (void) const
 Message block which contains the read data. More...
 
ACE_HANDLE handle (void) const
 I/O handle used for reading. More...
 
ACE_Asynch_Read_Stream_Result_Implimplementation (void) const
 Get the implementation class. More...
 
- Public Member Functions inherited from ACE_Asynch_Result
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_Read_File_Result_Impl *implementation)
 Constructor. This implementation will not be deleted. More...
 
virtual ~Result (void)
 Destructor. More...
 
- Protected Member Functions inherited from ACE_Asynch_Read_Stream::Result
 Result (ACE_Asynch_Read_Stream_Result_Impl *implementation)
 Constructor. More...
 
- Protected Member Functions inherited from ACE_Asynch_Result
 ACE_Asynch_Result (ACE_Asynch_Result_Impl *implementation)
 
ACE_Asynch_Result_Implimplementation (void) const
 Get the implementation class. More...
 

Protected Attributes

ACE_Asynch_Read_File_Result_Implimplementation_
 The implementation class. More...
 
- Protected Attributes inherited from ACE_Asynch_Read_Stream::Result
ACE_Asynch_Read_Stream_Result_Implimplementation_
 The implementation class. More...
 
- Protected Attributes inherited from ACE_Asynch_Result
ACE_Asynch_Result_Implimplementation_
 Implementation class. More...
 

Private Member Functions

void operator= (Result &)
 

Friends

class ACE_POSIX_Asynch_Read_File_Result
 
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}.

Constructor & Destructor Documentation

ACE_Asynch_Read_File::Result::Result ( ACE_Asynch_Read_File_Result_Impl implementation)
protected

Constructor. This implementation will not be deleted.

ACE_Asynch_Read_File::Result::~Result ( void  )
protectedvirtual

Destructor.

Reimplemented from ACE_Asynch_Read_Stream::Result.

Member Function Documentation

ACE_Asynch_Read_File_Result_Impl * ACE_Asynch_Read_File::Result::implementation ( void  ) const

Get the implementation class.

void ACE_Asynch_Read_File::Result::operator= ( Result )
inlineprivate

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

Friends And Related Function Documentation

friend class ACE_POSIX_Asynch_Read_File_Result
friend

The concrete implementation result classes only construct this class.

friend class ACE_WIN32_Asynch_Read_File_Result
friend

Member Data Documentation

ACE_Asynch_Read_File_Result_Impl* ACE_Asynch_Read_File::Result::implementation_
protected

The implementation class.


The documentation for this class was generated from the following files: