ACE 8.0.0
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
ACE_Asynch_Read_Dgram::Result Class Reference

This is the class which will be passed back to the {handler} when the asynchronous read completes. This class forwards all the methods to the implementation classes. More...

#include <Asynch_IO.h>

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

Public Member Functions

size_t bytes_to_read () const
 
ACE_Message_Blockmessage_block () const
 Message block which contains the read data.
 
int flags () const
 The flags used in the read.
 
int remote_address (ACE_Addr &addr) const
 The address of where the packet came from.
 
ACE_HANDLE handle () const
 I/O handle used for reading.
 
ACE_Asynch_Read_Dgram_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 voidact () const
 ACT associated with the operation.
 
int success () const
 Did the operation succeed?
 
const voidcompletion_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_Read_Dgram_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_Read_Dgram_Result_Implimplementation_
 The implementation class.
 
- Protected Attributes inherited from ACE_Asynch_Result
ACE_Asynch_Result_Implimplementation_
 Implementation class.
 

Friends

class ACE_POSIX_Asynch_Read_Dgram_Result
 
class ACE_WIN32_Asynch_Read_Dgram_Result
 

Detailed Description

This is the class which will be passed back to the {handler} when the asynchronous read completes. This class forwards all the methods to the implementation classes.

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

Constructor & Destructor Documentation

◆ Result()

ACE_Asynch_Read_Dgram::Result::Result ( ACE_Asynch_Read_Dgram_Result_Impl * implementation)
protected

Constructor.

◆ ~Result()

ACE_Asynch_Read_Dgram::Result::~Result ( )
protectedvirtual

Destructor.

Member Function Documentation

◆ bytes_to_read()

size_t ACE_Asynch_Read_Dgram::Result::bytes_to_read ( ) const

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

◆ flags()

int ACE_Asynch_Read_Dgram::Result::flags ( ) const

The flags used in the read.

◆ handle()

ACE_HANDLE ACE_Asynch_Read_Dgram::Result::handle ( ) const

I/O handle used for reading.

◆ implementation()

ACE_Asynch_Read_Dgram_Result_Impl * ACE_Asynch_Read_Dgram::Result::implementation ( ) const

Get the implementation class.

◆ message_block()

ACE_Message_Block * ACE_Asynch_Read_Dgram::Result::message_block ( ) const

Message block which contains the read data.

◆ remote_address()

int ACE_Asynch_Read_Dgram::Result::remote_address ( ACE_Addr & addr) const

The address of where the packet came from.

Friends And Related Symbol Documentation

◆ ACE_POSIX_Asynch_Read_Dgram_Result

The concrete implementation result classes only construct this class.

◆ ACE_WIN32_Asynch_Read_Dgram_Result

friend class ACE_WIN32_Asynch_Read_Dgram_Result
friend

Member Data Documentation

◆ implementation_

ACE_Asynch_Read_Dgram_Result_Impl* ACE_Asynch_Read_Dgram::Result::implementation_
protected

The implementation class.


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