Reference

ACE_Asynch_Read_File_Impl(3)

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

NAME

ACE_Asynch_Read_File_Impl -

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

SYNOPSIS

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

DESCRIPTION

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_Read_File_Impl (void);

virtual int read (
    ACE_Message_Block &message_block,
    u_long bytes_to_read,
    u_long offset,
    u_long offset_high,
    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. The read will start at offset from the beginning of the file.

virtual int read (
    ACE_Message_Block &message_block,
    u_long 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.

PROTECTED MEMBERS

ACE_Asynch_Read_File_Impl (void);

Do-nothing constructor.

AUTHOR

Irfan Pyarali ([email protected]), Tim Harrison ([email protected]) and Alexander Babu Arulanthu [email protected]

LIBRARY

ace