ACE
6.4.2
|
This is that class which will be passed back to the {handler} when the asynchronous accept completes. More...
#include <Asynch_IO.h>
Public Member Functions | |
size_t | bytes_to_read (void) const |
ACE_Message_Block & | message_block (void) const |
Message block which contains the read data. More... | |
ACE_HANDLE | listen_handle (void) const |
I/O handle used for accepting new connections. More... | |
ACE_HANDLE | accept_handle (void) const |
I/O handle for the new connection. More... | |
ACE_Asynch_Accept_Result_Impl * | implementation (void) const |
Get the implementation. 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_Accept_Result_Impl *implementation) | |
Constructor. Implementation will not be deleted. 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_Impl * | implementation (void) const |
Get the implementation class. More... | |
Protected Attributes | |
ACE_Asynch_Accept_Result_Impl * | implementation_ |
Implementation class. More... | |
Protected Attributes inherited from ACE_Asynch_Result | |
ACE_Asynch_Result_Impl * | implementation_ |
Implementation class. More... | |
Friends | |
class | ACE_POSIX_Asynch_Accept_Result |
class | ACE_WIN32_Asynch_Accept_Result |
This is that class which will be passed back to the {handler} when the asynchronous accept completes.
This class has all the information necessary for the {handler} to uniquiely identify the completion of the asynchronous accept.
|
protected |
Constructor. Implementation will not be deleted.
|
protectedvirtual |
Destructor.
ACE_HANDLE ACE_Asynch_Accept::Result::accept_handle | ( | void | ) | const |
I/O handle for the new connection.
size_t ACE_Asynch_Accept::Result::bytes_to_read | ( | void | ) | const |
The number of bytes which were requested at the start of the asynchronous accept.
ACE_Asynch_Accept_Result_Impl * ACE_Asynch_Accept::Result::implementation | ( | void | ) | const |
Get the implementation.
ACE_HANDLE ACE_Asynch_Accept::Result::listen_handle | ( | void | ) | const |
I/O handle used for accepting new connections.
ACE_Message_Block & ACE_Asynch_Accept::Result::message_block | ( | void | ) | const |
Message block which contains the read data.
|
friend |
The concrete implementation result classes only construct this class.
|
friend |
|
protected |
Implementation class.