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

ACE_Asynch_Read_File_Impl Class Reference

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

#include <Asynch_IO_Impl.h>

Inheritance diagram for ACE_Asynch_Read_File_Impl:

Inheritance graph
[legend]
Collaboration diagram for ACE_Asynch_Read_File_Impl:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual ~ACE_Asynch_Read_File_Impl (void)
virtual int read (ACE_Message_Block &message_block, size_t bytes_to_read, u_long offset, u_long offset_high, const void *act, int priority, int signal_number)=0
virtual int readv (ACE_Message_Block &message_block, size_t bytes_to_read, u_long offset, u_long offset_high, const void *act, int priority, int signal_number)=0
virtual int read (ACE_Message_Block &message_block, size_t bytes_to_read, const void *act, int priority, int signal_number)=0
 This starts off an asynchronous read. Upto <bytes_to_read> will be read and stored in the <message_block>. More...

virtual int readv (ACE_Message_Block &message_block, size_t bytes_to_read, const void *act, int priority, int signal_number)=0

Protected Methods

 ACE_Asynch_Read_File_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_File::Result.

Definition at line 286 of file Asynch_IO_Impl.h.


Constructor & Destructor Documentation

ACE_Asynch_Read_File_Impl::~ACE_Asynch_Read_File_Impl void    [virtual]
 

Definition at line 39 of file Asynch_IO_Impl.cpp.

00040 {
00041 }

ACE_INLINE ACE_Asynch_Read_File_Impl::ACE_Asynch_Read_File_Impl void    [protected]
 

Do-nothing constructor.

Definition at line 38 of file Asynch_IO_Impl.i.

00039   : ACE_Asynch_Operation_Impl (),
00040     ACE_Asynch_Read_Stream_Impl ()
00041 {
00042 }


Member Function Documentation

virtual int ACE_Asynch_Read_File_Impl::read ACE_Message_Block   message_block,
size_t    bytes_to_read,
const void *    act,
int    priority,
int    signal_number
[pure virtual]
 

This starts off an asynchronous read. Upto <bytes_to_read> will be read and stored in the <message_block>.

Implements ACE_Asynch_Read_Stream_Impl.

Implemented in ACE_POSIX_Asynch_Read_File.

virtual int ACE_Asynch_Read_File_Impl::read ACE_Message_Block   message_block,
size_t    bytes_to_read,
u_long    offset,
u_long    offset_high,
const void *    act,
int    priority,
int    signal_number
[pure virtual]
 

This starts off an asynchronous read. Upto <bytes_to_read> will be read and stored in the <message_block>. The read will start at <offset> from the beginning of the file.

Implemented in ACE_POSIX_Asynch_Read_File.

Referenced by ACE_Asynch_Read_File::read.

virtual int ACE_Asynch_Read_File_Impl::readv ACE_Message_Block   message_block,
size_t    bytes_to_read,
const void *    act,
int    priority,
int    signal_number
[pure virtual]
 

Same as above but with scatter support, through chaining of composite message blocks using the continuation field.

Implements ACE_Asynch_Read_Stream_Impl.

Implemented in ACE_WIN32_Asynch_Read_File.

virtual int ACE_Asynch_Read_File_Impl::readv ACE_Message_Block   message_block,
size_t    bytes_to_read,
u_long    offset,
u_long    offset_high,
const void *    act,
int    priority,
int    signal_number
[pure virtual]
 

Same as above but with scatter support, through chaining of composite message blocks using the continuation field. NOTE: In win32 Each data block payload must be at least the size of a system memory page and must be aligned on a system memory page size boundary

Implemented in ACE_WIN32_Asynch_Read_File.

Referenced by ACE_Asynch_Read_File::readv.


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