ACE_Asynch_Read_Stream_Impl Class Reference

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

#include <Asynch_IO_Impl.h>

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

List of all members.

Public Member Functions

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

Protected Member Functions

 ACE_Asynch_Read_Stream_Impl (void)
 Do-nothing constructor.

Detailed Description

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


Constructor & Destructor Documentation

ACE_Asynch_Read_Stream_Impl::~ACE_Asynch_Read_Stream_Impl ( void   )  [virtual]
ACE_Asynch_Read_Stream_Impl::ACE_Asynch_Read_Stream_Impl ( void   )  [inline, protected]

Do-nothing constructor.


Member Function Documentation

virtual int ACE_Asynch_Read_Stream_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.

Implemented in ACE_Asynch_Read_File_Impl, ACE_POSIX_Asynch_Read_Stream, and ACE_POSIX_Asynch_Read_File.

virtual int ACE_Asynch_Read_Stream_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.

Implemented in ACE_Asynch_Read_File_Impl.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by  doxygen 1.6.2