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

ACE_Asynch_Write_Stream::Result Class Reference

This is that class which will be passed back to the <handler> when the asynchronous write completes. This class forwards all the methods to the implementation class. More...

#include <Asynch_IO.h>

Inheritance diagram for ACE_Asynch_Write_Stream::Result:

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

Collaboration graph
[legend]
List of all members.

Public Methods

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

ACE_Message_Blockmessage_block (void) const
 Message block that contains the data to be written. More...

ACE_HANDLE handle (void) const
 I/O handle used for writing. More...

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


Protected Methods

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

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


Protected Attributes

ACE_Asynch_Write_Stream_Result_Implimplementation_
 Implementation class. More...


Friends

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

class ACE_WIN32_Asynch_Write_Stream_Result

Detailed Description

This is that class which will be passed back to the <handler> when the asynchronous write completes. This class forwards all the methods to the implementation class.

This class has all the information necessary for the <handler> to uniquiely identify the completion of the asynchronous write.

Definition at line 457 of file Asynch_IO.h.


Constructor & Destructor Documentation

ACE_Asynch_Write_Stream::Result::Result ACE_Asynch_Write_Stream_Result_Impl   implementation [protected]
 

Constructor.

Definition at line 382 of file Asynch_IO.cpp.

References ACE_Asynch_Write_Stream::implementation, and ACE_Asynch_Write_Stream::implementation_.

00383   : ACE_Asynch_Result (implementation),
00384     implementation_ (implementation)
00385 {
00386 }

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

Destructor.

Reimplemented in ACE_Asynch_Write_File::Result.

Definition at line 388 of file Asynch_IO.cpp.

00389 {
00390   // Proactor will delte the implementation when the <complete> call
00391   // finishes.
00392 }


Member Function Documentation

size_t ACE_Asynch_Write_Stream::Result::bytes_to_write void    const
 

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

Definition at line 365 of file Asynch_IO.cpp.

References ACE_Asynch_Write_Stream_Result_Impl::bytes_to_write, and implementation.

Referenced by ACE_POSIX_Asynch_Transmit_Handler::handle_write_stream.

00366 {
00367   return this->implementation ()->bytes_to_write ();
00368 }

ACE_HANDLE ACE_Asynch_Write_Stream::Result::handle void    const
 

I/O handle used for writing.

Definition at line 377 of file Asynch_IO.cpp.

References ACE_Asynch_Write_Stream_Result_Impl::handle, and implementation.

00378 {
00379   return this->implementation ()->handle ();
00380 }

ACE_Asynch_Write_Stream_Result_Impl * ACE_Asynch_Write_Stream::Result::implementation void    const
 

Get the implementation class.

Reimplemented from ACE_Asynch_Result.

Reimplemented in ACE_Asynch_Write_File::Result.

Definition at line 395 of file Asynch_IO.cpp.

References implementation_.

Referenced by bytes_to_write, handle, and message_block.

00396 {
00397   return this->implementation_;
00398 }

ACE_Message_Block & ACE_Asynch_Write_Stream::Result::message_block void    const
 

Message block that contains the data to be written.

Definition at line 371 of file Asynch_IO.cpp.

References implementation, and ACE_Asynch_Write_Stream_Result_Impl::message_block.

Referenced by ACE_POSIX_Asynch_Transmit_Handler::handle_write_stream.

00372 {
00373   return this->implementation ()->message_block ();
00374 }


Friends And Related Function Documentation

friend class ACE_POSIX_Asynch_Write_Stream_Result [friend]
 

The concrete implementation result classes only construct this class.

Definition at line 462 of file Asynch_IO.h.

friend class ACE_WIN32_Asynch_Write_Stream_Result [friend]
 

Definition at line 463 of file Asynch_IO.h.


Member Data Documentation

ACE_Asynch_Write_Stream_Result_Impl* ACE_Asynch_Write_Stream::Result::implementation_ [protected]
 

Implementation class.

Reimplemented from ACE_Asynch_Result.

Reimplemented in ACE_Asynch_Write_File::Result.

Definition at line 487 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:46 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002