Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

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:

Inheritance graph
[legend]
Collaboration diagram for ACE_Asynch_Transmit_File::Result:

Collaboration graph
[legend]
List of all members.

Public Methods

ACE_HANDLE socket (void) const
 Socket used for transmitting the file. More...

ACE_HANDLE file (void) const
 File from which the data is read. More...

Header_And_Trailerheader_and_trailer (void) const
 Header and trailer data associated with this transmit file. More...

size_t bytes_to_write (void) const
 The number of bytes which were requested at the start of the asynchronous transmit file. More...

size_t bytes_per_send (void) const
 Number of bytes per send requested at the start of the transmit file. More...

u_long flags (void) const
 Flags which were passed into transmit file. More...

ACE_Asynch_Transmit_File_Result_Implimplementation (void) const
 Get the implementation class. More...


Protected Methods

 Result (ACE_Asynch_Transmit_File_Result_Impl *implementation)
 Constructor. More...

virtual ~Result (void)
 Destructor. More...


Protected Attributes

ACE_Asynch_Transmit_File_Result_Implimplementation_
 The implementation class. More...


Friends

class ACE_POSIX_Asynch_Transmit_File_Result
 The concrete implementation result classes only construct this class. More...

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.

Definition at line 1077 of file Asynch_IO.h.


Constructor & Destructor Documentation

ACE_Asynch_Transmit_File::Result::Result ACE_Asynch_Transmit_File_Result_Impl   implementation [protected]
 

Constructor.

Definition at line 952 of file Asynch_IO.cpp.

References ACE_Asynch_Transmit_File::implementation, and ACE_Asynch_Transmit_File::implementation_.

00953   : ACE_Asynch_Result (implementation),
00954     implementation_ (implementation)
00955 {
00956 }

ACE_Asynch_Transmit_File::Result::~Result void    [protected, virtual]
 

Destructor.

Definition at line 958 of file Asynch_IO.cpp.

00959 {
00960 }


Member Function Documentation

size_t ACE_Asynch_Transmit_File::Result::bytes_per_send void    const
 

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

Definition at line 941 of file Asynch_IO.cpp.

References ACE_Asynch_Transmit_File_Result_Impl::bytes_per_send, and implementation.

00942 {
00943   return this->implementation ()->bytes_per_send ();
00944 }

size_t ACE_Asynch_Transmit_File::Result::bytes_to_write void    const
 

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

Definition at line 935 of file Asynch_IO.cpp.

References ACE_Asynch_Transmit_File_Result_Impl::bytes_to_write, and implementation.

00936 {
00937   return this->implementation ()->bytes_to_write ();
00938 }

ACE_HANDLE ACE_Asynch_Transmit_File::Result::file void    const
 

File from which the data is read.

Definition at line 923 of file Asynch_IO.cpp.

References ACE_Asynch_Transmit_File_Result_Impl::file, and implementation.

00924 {
00925   return this->implementation ()->file ();
00926 }

u_long ACE_Asynch_Transmit_File::Result::flags void    const
 

Flags which were passed into transmit file.

Definition at line 947 of file Asynch_IO.cpp.

References ACE_Asynch_Transmit_File_Result_Impl::flags, and implementation.

00948 {
00949   return this->implementation ()->flags ();
00950 }

ACE_Asynch_Transmit_File::Header_And_Trailer * ACE_Asynch_Transmit_File::Result::header_and_trailer void    const
 

Header and trailer data associated with this transmit file.

Definition at line 929 of file Asynch_IO.cpp.

References ACE_Asynch_Transmit_File_Result_Impl::header_and_trailer, and implementation.

00930 {
00931   return this->implementation ()->header_and_trailer ();
00932 }

ACE_Asynch_Transmit_File_Result_Impl * ACE_Asynch_Transmit_File::Result::implementation void    const
 

Get the implementation class.

Reimplemented from ACE_Asynch_Result.

Definition at line 963 of file Asynch_IO.cpp.

References implementation_.

Referenced by bytes_per_send, bytes_to_write, file, flags, header_and_trailer, and socket.

00964 {
00965   return this->implementation_;
00966 }

ACE_HANDLE ACE_Asynch_Transmit_File::Result::socket void    const
 

Socket used for transmitting the file.

Definition at line 917 of file Asynch_IO.cpp.

References implementation, and ACE_Asynch_Transmit_File_Result_Impl::socket.

00918 {
00919   return this->implementation ()->socket ();
00920 }


Friends And Related Function Documentation

friend class ACE_POSIX_Asynch_Transmit_File_Result [friend]
 

The concrete implementation result classes only construct this class.

Definition at line 1082 of file Asynch_IO.h.

friend class ACE_WIN32_Asynch_Transmit_File_Result [friend]
 

Definition at line 1083 of file Asynch_IO.h.


Member Data Documentation

ACE_Asynch_Transmit_File_Result_Impl* ACE_Asynch_Transmit_File::Result::implementation_ [protected]
 

The implementation class.

Reimplemented from ACE_Asynch_Result.

Definition at line 1117 of file Asynch_IO.h.

Referenced by implementation.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 12:45:34 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002