ACE 8.0.5
Loading...
Searching...
No Matches
ACE_Asynch_Transmit_File::Result Class Reference

This is that class which will be passed back to the {handler} when the asynchronous transmit file completes. More...

#include <Asynch_IO.h>

Inheritance diagram for ACE_Asynch_Transmit_File::Result:
Collaboration diagram for ACE_Asynch_Transmit_File::Result:

Public Member Functions

ACE_HANDLE socket () const
 Socket used for transmitting the file.
ACE_HANDLE file () const
 File from which the data is read.
Header_And_Trailerheader_and_trailer () const
 Header and trailer data associated with this transmit file.
size_t bytes_to_write () const
size_t bytes_per_send () const
unsigned long flags () const
 Flags which were passed into transmit file.
ACE_Asynch_Transmit_File_Result_Implimplementation () const
 Get the implementation class.
Public Member Functions inherited from ACE_Asynch_Result
size_t bytes_transferred () const
 Number of bytes transferred by the operation.
const void * act () const
 ACT associated with the operation.
int success () const
 Did the operation succeed?
const void * completion_key () const
unsigned long error () const
 Error value if the operation fails.
ACE_HANDLE event () const
unsigned long offset () const
unsigned long offset_high () const
int priority () const
int signal_number () const
virtual ~ACE_Asynch_Result ()
 Destructor.

Protected Member Functions

 Result (ACE_Asynch_Transmit_File_Result_Impl *implementation)
 Constructor.
virtual ~Result ()
 Destructor.
Protected Member Functions inherited from ACE_Asynch_Result
 ACE_Asynch_Result (ACE_Asynch_Result_Impl *implementation)
ACE_Asynch_Result_Implimplementation () const
 Get the implementation class.

Protected Attributes

ACE_Asynch_Transmit_File_Result_Implimplementation_
 The implementation class.
Protected Attributes inherited from ACE_Asynch_Result
ACE_Asynch_Result_Implimplementation_
 Implementation class.

Friends

class ACE_POSIX_Asynch_Transmit_File_Result
class ACE_WIN32_Asynch_Transmit_File_Result

Detailed Description

This is that class which will be passed back to the {handler} when the asynchronous transmit file completes.

This class has all the information necessary for the {handler} to uniquiely identify the completion of the asynchronous transmit file.

Constructor & Destructor Documentation

◆ Result()

ACE_Asynch_Transmit_File::Result::Result ( ACE_Asynch_Transmit_File_Result_Impl * implementation)
protected

Constructor.

◆ ~Result()

ACE_Asynch_Transmit_File::Result::~Result ( )
protectedvirtual

Destructor.

Member Function Documentation

◆ bytes_per_send()

size_t ACE_Asynch_Transmit_File::Result::bytes_per_send ( ) const

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

◆ bytes_to_write()

size_t ACE_Asynch_Transmit_File::Result::bytes_to_write ( ) const

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

◆ file()

ACE_HANDLE ACE_Asynch_Transmit_File::Result::file ( ) const

File from which the data is read.

◆ flags()

unsigned long ACE_Asynch_Transmit_File::Result::flags ( ) const

Flags which were passed into transmit file.

◆ header_and_trailer()

ACE_Asynch_Transmit_File::Header_And_Trailer * ACE_Asynch_Transmit_File::Result::header_and_trailer ( ) const

Header and trailer data associated with this transmit file.

◆ implementation()

ACE_Asynch_Transmit_File_Result_Impl * ACE_Asynch_Transmit_File::Result::implementation ( ) const

Get the implementation class.

◆ socket()

ACE_HANDLE ACE_Asynch_Transmit_File::Result::socket ( ) const

Socket used for transmitting the file.

◆ ACE_POSIX_Asynch_Transmit_File_Result

The concrete implementation result classes only construct this class.

◆ ACE_WIN32_Asynch_Transmit_File_Result

friend class ACE_WIN32_Asynch_Transmit_File_Result
friend

Member Data Documentation

◆ implementation_

ACE_Asynch_Transmit_File_Result_Impl* ACE_Asynch_Transmit_File::Result::implementation_
protected

The implementation class.


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