ACE_Asynch_Transmit_File_Result_Impl(3)

ACE_Asynch_Transmit_File_Result_Impl3

Abstract base class for all the concrete implementation classes that provide different implementations for the ace_asynch_transmit_file::result.

Usage

class ACE_Asynch_Transmit_File_Result_Impl : 
  public virtual ACE_Asynch_Result_Impl
{
  public:
    virtual ~ACE_Asynch_Transmit_File_Result_Impl (void);
    virtual ACE_HANDLE socket (void) const = 0;
    virtual ACE_HANDLE file (void) const = 0;
    virtual ACE_Asynch_Transmit_File::Header_And_Trailer *header_and_trailer (
        void
        ) const = 0;
    virtual u_long bytes_to_write (void) const = 0;
    virtual u_long bytes_per_send (void) const = 0;
    virtual u_long flags (void) const = 0;
  protected:
    ACE_Asynch_Transmit_File_Result_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_Transmit_File_Result_Impl (void);
virtual ACE_HANDLE socket (void) const = 0;

Socket used for transmitting the file.

virtual ACE_HANDLE file (void) const = 0;

File from which the data is read.

virtual ACE_Asynch_Transmit_File::Header_And_Trailer *header_and_trailer (
    void
    ) const = 0;

Header and trailer data associated with this transmit file.

virtual u_long bytes_to_write (void) const = 0;

The number of bytes which were requested at the start of the asynchronous transmit file.

virtual u_long bytes_per_send (void) const = 0;

Number of bytes per send requested at the start of the transmit file.

virtual u_long flags (void) const = 0;

Flags which were passed into transmit file.

Protected members

ACE_Asynch_Transmit_File_Result_Impl (void);

Do-nothing constructor.

Library

ace