#include <WIN32_Asynch_IO.h>
Inheritance diagram for ACE_WIN32_Asynch_Connect_Result:


Public Methods | |
| ACE_HANDLE | connect_handle (void) const |
| I/O handle for the connection. | |
| size_t | bytes_transferred (void) const |
| Number of bytes transferred by the operation. | |
| const void * | act (void) const |
| ACT associated with the operation. | |
| int | success (void) const |
| Did the operation succeed? | |
| const void * | completion_key (void) const |
| u_long | error (void) const |
| Error value if the operation fail. | |
| ACE_HANDLE | event (void) const |
| Event associated with the OVERLAPPED structure. | |
| u_long | offset (void) const |
| This really make sense only when doing file I/O. | |
| u_long | offset_high (void) const |
| Offset_high associated with the OVERLAPPED structure. | |
| int | priority (void) const |
| int | signal_number (void) const |
| No-op. Returns 0. | |
| int | post_completion (ACE_Proactor_Impl *proactor) |
| Post this object to the Proactor's completion port. | |
Protected Methods | |
| ACE_WIN32_Asynch_Connect_Result (ACE_Handler &handler, ACE_HANDLE connect_handle, const void *act, ACE_HANDLE event, int priority, int signal_number) | |
| virtual void | complete (size_t bytes_transferred, int success, const void *completion_key, u_long error) |
| ACE_Proactor will call this method when the accept completes. | |
| virtual | ~ACE_WIN32_Asynch_Connect_Result (void) |
| Destructor. | |
| void | connect_handle (ACE_HANDLE handle) |
| Set the I/O handle for the new connection. | |
Protected Attributes | |
| ACE_HANDLE | connect_handle_ |
Friends | |
| class | ACE_WIN32_Asynch_Connect |
| Factory classes will have special permissions. | |
| class | ACE_WIN32_Proactor |
| The Proactor constructs the Result class for faking results. | |
This class has all the information necessary for the completion handler to uniquiely identify the completion of the asynchronous connect.
|
||||||||||||||||||||||||||||
|
Constructor is protected since creation is limited to ACE_Asynch_Connect factory. |
|
|
Destructor.
|
|
|
ACT associated with the operation.
Reimplemented from ACE_WIN32_Asynch_Result. |
|
|
Number of bytes transferred by the operation.
Reimplemented from ACE_WIN32_Asynch_Result. |
|
||||||||||||||||||||
|
ACE_Proactor will call this method when the accept completes.
Implements ACE_Asynch_Result_Impl. |
|
|
Returns the ACT associated with the handle when it was registered with the I/O completion port. This ACT is not the same as the ACT associated with the asynchronous operation. Reimplemented from ACE_WIN32_Asynch_Result. |
|
|
Set the I/O handle for the new connection.
|
|
|
I/O handle for the connection.
Implements ACE_Asynch_Connect_Result_Impl. |
|
|
Error value if the operation fail.
Reimplemented from ACE_WIN32_Asynch_Result. |
|
|
Event associated with the OVERLAPPED structure.
Reimplemented from ACE_WIN32_Asynch_Result. |
|
|
This really make sense only when doing file I/O.
Reimplemented from ACE_WIN32_Asynch_Result. |
|
|
Offset_high associated with the OVERLAPPED structure.
Reimplemented from ACE_WIN32_Asynch_Result. |
|
|
Post this object to the Proactor's completion port.
Reimplemented from ACE_WIN32_Asynch_Result. |
|
|
The priority of the asynchronous operation. Currently, this is not supported on Win32. Reimplemented from ACE_WIN32_Asynch_Result. |
|
|
No-op. Returns 0.
Reimplemented from ACE_WIN32_Asynch_Result. |
|
|
Did the operation succeed?
Reimplemented from ACE_WIN32_Asynch_Result. |
|
|
Factory classes will have special permissions.
|
|
|
The Proactor constructs the Result class for faking results.
Reimplemented from ACE_WIN32_Asynch_Result. |
|
|
|
1.2.18