ACE_Asynch_Write_File_Impl(3)

ACE_Asynch_Write_File_Impl3

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

Usage

class ACE_Asynch_Write_File_Impl : 
  public virtual ACE_Asynch_Write_Stream_Impl
{
  public:
    virtual ~ACE_Asynch_Write_File_Impl (void);
    virtual int write (
        ACE_Message_Block &message_block,
        u_long 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,
        u_long bytes_to_write,
        const void *act,
        int priority,
        int signal_number
        ) = 0;
  protected:
    ACE_Asynch_Write_File_Impl (void);
};

Overview

This class contains asbtract base classes for all the concrete implementation classes for the various asynchronous operations that are used with the Praoctor.

Public members

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

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

virtual int write (
    ACE_Message_Block &message_block,
    u_long bytes_to_write,
    const void *act,
    int priority,
    int signal_number
    ) = 0;

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

Protected members

ACE_Asynch_Write_File_Impl (void);

Do-nothing constructor.

Library

ace