ACE_Asynch_Connect::Result Class Reference

This is that class which will be passed back to the handler when the asynchronous connect completes. More...

#include <Asynch_IO.h>

Inheritance diagram for ACE_Asynch_Connect::Result:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

ACE_HANDLE connect_handle (void) const
 I/O handle for the connection.

ACE_Asynch_Connect_Result_Implimplementation (void) const
 Get the implementation.


Protected Member Functions

 Result (ACE_Asynch_Connect_Result_Impl *implementation)
 Contructor. Implementation will not be deleted.

virtual ~Result (void)
 Destructor.


Protected Attributes

ACE_Asynch_Connect_Result_Implimplementation_
 Impelmentation class.


Friends

class ACE_POSIX_Asynch_Connect_Result
class ACE_WIN32_Asynch_Connect_Result

Detailed Description

This is that class which will be passed back to the handler when the asynchronous connect completes.

This class has all the information necessary for the handler to uniquely identify the completion of the asynchronous connect.

Definition at line 1000 of file Asynch_IO.h.


Constructor & Destructor Documentation

ACE_Asynch_Connect::Result::Result ACE_Asynch_Connect_Result_Impl implementation  )  [protected]
 

Contructor. Implementation will not be deleted.

Definition at line 718 of file Asynch_IO.cpp.

00719   : ACE_Asynch_Result (implementation),
00720     implementation_ (implementation)
00721 {
00722 }

ACE_Asynch_Connect::Result::~Result void   )  [protected, virtual]
 

Destructor.

Definition at line 724 of file Asynch_IO.cpp.

00725 {
00726   // Proactor will delete the implementation when the <complete> call
00727   // completes.
00728 }


Member Function Documentation

ACE_HANDLE ACE_Asynch_Connect::Result::connect_handle void   )  const
 

I/O handle for the connection.

Definition at line 731 of file Asynch_IO.cpp.

References ACE_Asynch_Connect_Result_Impl::connect_handle(), and implementation().

Referenced by ACE_Asynch_Connector< HANDLER >::handle_connect(), and ACE_Asynch_Connector< HANDLER >::parse_address().

00732 {
00733   return this->implementation ()->connect_handle ();
00734 }

ACE_Asynch_Connect_Result_Impl * ACE_Asynch_Connect::Result::implementation void   )  const
 

Get the implementation.

Reimplemented from ACE_Asynch_Result.

Definition at line 738 of file Asynch_IO.cpp.

Referenced by connect_handle().

00739 {
00740   return this->implementation_;
00741 }


Friends And Related Function Documentation

friend class ACE_POSIX_Asynch_Connect_Result [friend]
 

The concrete implementation result classes only construct this class.

Definition at line 1005 of file Asynch_IO.h.

friend class ACE_WIN32_Asynch_Connect_Result [friend]
 

Definition at line 1006 of file Asynch_IO.h.


Member Data Documentation

ACE_Asynch_Connect_Result_Impl* ACE_Asynch_Connect::Result::implementation_ [protected]
 

Impelmentation class.

Reimplemented from ACE_Asynch_Result.

Definition at line 1024 of file Asynch_IO.h.


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 11:19:25 2006 for ACE by doxygen 1.3.6