ACE  6.3.3
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
ACE_Asynch_Write_Dgram::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_Dgram::Result:
Inheritance graph
[legend]
Collaboration diagram for ACE_Asynch_Write_Dgram::Result:
Collaboration graph
[legend]

Public Member Functions

size_t bytes_to_write (void) const
 
ACE_Message_Blockmessage_block (void) const
 Message block which contains the sent data. More...
 
int flags (void) const
 The flags using in the write. More...
 
ACE_HANDLE handle (void) const
 I/O handle used for writing. More...
 
ACE_Asynch_Write_Dgram_Result_Implimplementation (void) const
 Get the implementation class. More...
 
- Public Member Functions inherited from ACE_Asynch_Result
size_t bytes_transferred (void) const
 Number of bytes transferred by the operation. More...
 
const void * act (void) const
 ACT associated with the operation. More...
 
int success (void) const
 Did the operation succeed? More...
 
const void * completion_key (void) const
 
unsigned long error (void) const
 Error value if the operation fails. More...
 
ACE_HANDLE event (void) const
 
unsigned long offset (void) const
 
unsigned long offset_high (void) const
 
int priority (void) const
 
int signal_number (void) const
 
virtual ~ACE_Asynch_Result (void)
 Destructor. More...
 

Protected Member Functions

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

Protected Attributes

ACE_Asynch_Write_Dgram_Result_Implimplementation_
 Implementation class. More...
 
- Protected Attributes inherited from ACE_Asynch_Result
ACE_Asynch_Result_Implimplementation_
 Implementation class. More...
 

Friends

class ACE_POSIX_Asynch_Write_Dgram_Result
 
class ACE_WIN32_Asynch_Write_Dgram_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.

Constructor & Destructor Documentation

ACE_Asynch_Write_Dgram::Result::Result ( ACE_Asynch_Write_Dgram_Result_Impl implementation)
protected

Constructor.

ACE_Asynch_Write_Dgram::Result::~Result ( void  )
protectedvirtual

Destructor.

Member Function Documentation

size_t ACE_Asynch_Write_Dgram::Result::bytes_to_write ( void  ) const

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

int ACE_Asynch_Write_Dgram::Result::flags ( void  ) const

The flags using in the write.

ACE_HANDLE ACE_Asynch_Write_Dgram::Result::handle ( void  ) const

I/O handle used for writing.

ACE_Asynch_Write_Dgram_Result_Impl * ACE_Asynch_Write_Dgram::Result::implementation ( void  ) const

Get the implementation class.

ACE_Message_Block * ACE_Asynch_Write_Dgram::Result::message_block ( void  ) const

Message block which contains the sent data.

Friends And Related Function Documentation

The concrete implementation result classes only construct this class.

friend class ACE_WIN32_Asynch_Write_Dgram_Result
friend

Member Data Documentation

ACE_Asynch_Write_Dgram_Result_Impl* ACE_Asynch_Write_Dgram::Result::implementation_
protected

Implementation class.


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