ACE  6.3.4
Public Member Functions | Protected Member Functions | List of all members
ACE_Asynch_Read_Stream_Result_Impl Class Referenceabstract

Abstract base class for all the concrete implementation classes that provide different implementations for the ACE_Asynch_Read_Stream::Result class. More...

#include <Asynch_IO_Impl.h>

Inheritance diagram for ACE_Asynch_Read_Stream_Result_Impl:
Inheritance graph
[legend]
Collaboration diagram for ACE_Asynch_Read_Stream_Result_Impl:
Collaboration graph
[legend]

Public Member Functions

virtual ~ACE_Asynch_Read_Stream_Result_Impl (void)
 
virtual size_t bytes_to_read (void) const =0
 
virtual ACE_Message_Blockmessage_block (void) const =0
 Message block which contains the read data. More...
 
virtual ACE_HANDLE handle (void) const =0
 I/O handle used for reading. More...
 
- Public Member Functions inherited from ACE_Asynch_Result_Impl
virtual ~ACE_Asynch_Result_Impl (void)
 
virtual size_t bytes_transferred (void) const =0
 Number of bytes transferred by the operation. More...
 
virtual const void * act (void) const =0
 ACT associated with the operation. More...
 
virtual int success (void) const =0
 Did the operation succeed? More...
 
virtual const void * completion_key (void) const =0
 
virtual u_long error (void) const =0
 Error value if the operation fail. More...
 
virtual ACE_HANDLE event (void) const =0
 Event associated with the OVERLAPPED structure. More...
 
virtual u_long offset (void) const =0
 This really make sense only when doing file I/O. More...
 
virtual u_long offset_high (void) const =0
 
virtual int priority (void) const =0
 Priority of the operation. More...
 
virtual int signal_number (void) const =0
 
virtual void complete (size_t bytes_transferred, int success, const void *completion_key, u_long error=0)=0
 This is called when the asynchronous operation completes. More...
 
virtual int post_completion (ACE_Proactor_Impl *proactor)=0
 Post this to the Proactor's completion port. More...
 

Protected Member Functions

 ACE_Asynch_Read_Stream_Result_Impl (void)
 Do-nothing constructor. More...
 
- Protected Member Functions inherited from ACE_Asynch_Result_Impl
 ACE_Asynch_Result_Impl (void)
 Do-nothing constructor. More...
 

Detailed Description

Abstract base class for all the concrete implementation classes that provide different implementations for the ACE_Asynch_Read_Stream::Result class.

Constructor & Destructor Documentation

ACE_Asynch_Read_Stream_Result_Impl::~ACE_Asynch_Read_Stream_Result_Impl ( void  )
virtual
ACE_Asynch_Read_Stream_Result_Impl::ACE_Asynch_Read_Stream_Result_Impl ( void  )
inlineprotected

Do-nothing constructor.

Member Function Documentation

virtual size_t ACE_Asynch_Read_Stream_Result_Impl::bytes_to_read ( void  ) const
pure virtual

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

Implemented in ACE_POSIX_Asynch_Read_Stream_Result.

virtual ACE_HANDLE ACE_Asynch_Read_Stream_Result_Impl::handle ( void  ) const
pure virtual

I/O handle used for reading.

Implemented in ACE_POSIX_Asynch_Read_Stream_Result.

virtual ACE_Message_Block& ACE_Asynch_Read_Stream_Result_Impl::message_block ( void  ) const
pure virtual

Message block which contains the read data.

Implemented in ACE_POSIX_Asynch_Read_Stream_Result.


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