ACE_Asynch_Write_File_Impl Class Reference

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

#include <Asynch_IO_Impl.h>

Inheritance diagram for ACE_Asynch_Write_File_Impl:

Inheritance graph
[legend]
Collaboration diagram for ACE_Asynch_Write_File_Impl:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual ~ACE_Asynch_Write_File_Impl (void)
virtual int write (ACE_Message_Block &message_block, size_t bytes_to_write, u_long offset, u_long offset_high, const void *act, int priority, int signal_number)=0
virtual int writev (ACE_Message_Block &message_block, size_t bytes_to_write, u_long offset, u_long offset_high, const void *act, int priority, int signal_number)=0
virtual int write (ACE_Message_Block &message_block, size_t bytes_to_write, const void *act, int priority, int signal_number)=0
virtual int writev (ACE_Message_Block &message_block, size_t bytes_to_write, const void *act, int priority, int signal_number)=0

Protected Member Functions

 ACE_Asynch_Write_File_Impl (void)
 Do-nothing constructor.


Detailed Description

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

Definition at line 373 of file Asynch_IO_Impl.h.


Constructor & Destructor Documentation

ACE_Asynch_Write_File_Impl::~ACE_Asynch_Write_File_Impl void   )  [virtual]
 

Definition at line 43 of file Asynch_IO_Impl.cpp.

00044 {
00045 }

ACE_INLINE ACE_Asynch_Write_File_Impl::ACE_Asynch_Write_File_Impl void   )  [protected]
 

Do-nothing constructor.

Definition at line 56 of file Asynch_IO_Impl.inl.

00057   : ACE_Asynch_Operation_Impl (),
00058     ACE_Asynch_Write_Stream_Impl ()
00059 {
00060 }


Member Function Documentation

virtual int ACE_Asynch_Write_File_Impl::write ACE_Message_Block message_block,
size_t  bytes_to_write,
const void *  act,
int  priority,
int  signal_number
[pure virtual]
 

This starts off an asynchronous write. Upto bytes_to_write will be written from the message_block.

Implements ACE_Asynch_Write_Stream_Impl.

Implemented in ACE_POSIX_Asynch_Write_File, and ACE_WIN32_Asynch_Write_File.

virtual int ACE_Asynch_Write_File_Impl::write ACE_Message_Block message_block,
size_t  bytes_to_write,
u_long  offset,
u_long  offset_high,
const void *  act,
int  priority,
int  signal_number
[pure virtual]
 

This starts off an asynchronous write. Upto will be write and stored in the . The write will start at from the beginning of the file.

Implemented in ACE_POSIX_Asynch_Write_File, and ACE_WIN32_Asynch_Write_File.

Referenced by ACE_Asynch_Write_File::write().

virtual int ACE_Asynch_Write_File_Impl::writev ACE_Message_Block message_block,
size_t  bytes_to_write,
const void *  act,
int  priority,
int  signal_number
[pure virtual]
 

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

Implements ACE_Asynch_Write_Stream_Impl.

Implemented in ACE_WIN32_Asynch_Write_File.

virtual int ACE_Asynch_Write_File_Impl::writev ACE_Message_Block message_block,
size_t  bytes_to_write,
u_long  offset,
u_long  offset_high,
const void *  act,
int  priority,
int  signal_number
[pure virtual]
 

Same as above but with gather 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_Write_File.

Referenced by ACE_Asynch_Write_File::writev().


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 11:19:59 2006 for ACE by doxygen 1.3.6