ACE_Asynch_Read_Stream_Impl(3)

ACE_Asynch_Read_Stream_Impl3

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

Usage

class ACE_Asynch_Read_Stream_Impl : 
  public virtual ACE_Asynch_Operation_Impl
{
  public:
    virtual ~ACE_Asynch_Read_Stream_Impl (void);
    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_Stream_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_Read_Stream_Impl (void);
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_Stream_Impl (void);

Do-nothing constructor.

Library

ace