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

Protected Member Functions

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

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 ( void  )
virtual
ACE_Asynch_Transmit_File_Result_Impl::ACE_Asynch_Transmit_File_Result_Impl ( void  )
inlineprotected

Do-nothing constructor.

Member Function Documentation

virtual size_t ACE_Asynch_Transmit_File_Result_Impl::bytes_per_send ( void  ) const
pure virtual

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

Implemented in ACE_POSIX_Asynch_Transmit_File_Result.

virtual size_t ACE_Asynch_Transmit_File_Result_Impl::bytes_to_write ( void  ) 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.

virtual ACE_HANDLE ACE_Asynch_Transmit_File_Result_Impl::file ( void  ) const
pure virtual

File from which the data is read.

Implemented in ACE_POSIX_Asynch_Transmit_File_Result.

virtual u_long ACE_Asynch_Transmit_File_Result_Impl::flags ( void  ) const
pure virtual

Flags which were passed into transmit file.

Implemented in ACE_POSIX_Asynch_Transmit_File_Result.

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

Header and trailer data associated with this transmit file.

Implemented in ACE_POSIX_Asynch_Transmit_File_Result.

virtual ACE_HANDLE ACE_Asynch_Transmit_File_Result_Impl::socket ( void  ) 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: