ACE 8.0.0
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
ACE_Asynch_Transmit_File_Result_Impl Class Referenceabstract

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

#include <Asynch_IO_Impl.h>

Inheritance diagram for ACE_Asynch_Transmit_File_Result_Impl:
Inheritance graph
[legend]
Collaboration diagram for ACE_Asynch_Transmit_File_Result_Impl:
Collaboration graph
[legend]

Public Member Functions

virtual ~ACE_Asynch_Transmit_File_Result_Impl ()
 
virtual ACE_HANDLE socket () const =0
 Socket used for transmitting the file.
 
virtual ACE_HANDLE file () const =0
 File from which the data is read.
 
virtual ACE_Asynch_Transmit_File::Header_And_Trailerheader_and_trailer () const =0
 Header and trailer data associated with this transmit file.
 
virtual size_t bytes_to_write () const =0
 
virtual size_t bytes_per_send () const =0
 
virtual u_long flags () const =0
 Flags which were passed into transmit file.
 
- Public Member Functions inherited from ACE_Asynch_Result_Impl
virtual ~ACE_Asynch_Result_Impl ()
 
virtual size_t bytes_transferred () const =0
 Number of bytes transferred by the operation.
 
virtual const voidact () const =0
 ACT associated with the operation.
 
virtual int success () const =0
 Did the operation succeed?
 
virtual const voidcompletion_key () const =0
 
virtual u_long error () const =0
 Error value if the operation fail.
 
virtual ACE_HANDLE event () const =0
 Event associated with the OVERLAPPED structure.
 
virtual u_long offset () const =0
 This really make sense only when doing file I/O.
 
virtual u_long offset_high () const =0
 
virtual int priority () const =0
 Priority of the operation.
 
virtual int signal_number () const =0
 
virtual void complete (size_t bytes_transferred, int success, const void *completion_key, u_long error=0)=0
 This is called when the asynchronous operation completes.
 
virtual int post_completion (ACE_Proactor_Impl *proactor)=0
 Post this to the Proactor's completion port.
 

Protected Member Functions

 ACE_Asynch_Transmit_File_Result_Impl ()
 Do-nothing constructor.
 
- Protected Member Functions inherited from ACE_Asynch_Result_Impl
 ACE_Asynch_Result_Impl ()
 Do-nothing constructor.
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ~ACE_Asynch_Transmit_File_Result_Impl()

ACE_Asynch_Transmit_File_Result_Impl::~ACE_Asynch_Transmit_File_Result_Impl ( )
virtual

◆ ACE_Asynch_Transmit_File_Result_Impl()

ACE_Asynch_Transmit_File_Result_Impl::ACE_Asynch_Transmit_File_Result_Impl ( )
inlineprotected

Do-nothing constructor.

Member Function Documentation

◆ bytes_per_send()

virtual size_t ACE_Asynch_Transmit_File_Result_Impl::bytes_per_send ( ) const
pure virtual

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

Implemented in ACE_POSIX_Asynch_Transmit_File_Result.

◆ bytes_to_write()

virtual size_t ACE_Asynch_Transmit_File_Result_Impl::bytes_to_write ( ) const
pure virtual

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

Implemented in ACE_POSIX_Asynch_Transmit_File_Result.

◆ file()

virtual ACE_HANDLE ACE_Asynch_Transmit_File_Result_Impl::file ( ) const
pure virtual

File from which the data is read.

Implemented in ACE_POSIX_Asynch_Transmit_File_Result.

◆ flags()

virtual u_long ACE_Asynch_Transmit_File_Result_Impl::flags ( ) const
pure virtual

Flags which were passed into transmit file.

Implemented in ACE_POSIX_Asynch_Transmit_File_Result.

◆ header_and_trailer()

virtual ACE_Asynch_Transmit_File::Header_And_Trailer * ACE_Asynch_Transmit_File_Result_Impl::header_and_trailer ( ) const
pure virtual

Header and trailer data associated with this transmit file.

Implemented in ACE_POSIX_Asynch_Transmit_File_Result.

◆ socket()

virtual ACE_HANDLE ACE_Asynch_Transmit_File_Result_Impl::socket ( ) const
pure virtual

Socket used for transmitting the file.

Implemented in ACE_POSIX_Asynch_Transmit_File_Result.


The documentation for this class was generated from the following files: