#include <Asynch_IO.h>
Inheritance diagram for ACE_Asynch_Accept::Result:


Public Methods | |
| size_t | bytes_to_read (void) const |
| The number of bytes which were requested at the start of the asynchronous accept. More... | |
| 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... | |
Protected Methods | |
| Result (ACE_Asynch_Accept_Result_Impl *implementation) | |
| Contructor. Implementation will not be deleted. More... | |
| virtual | ~Result (void) |
| Destructor. More... | |
Protected Attributes | |
| ACE_Asynch_Accept_Result_Impl * | implementation_ |
| Impelmentation class. More... | |
Friends | |
| class | ACE_POSIX_Asynch_Accept_Result |
| The concrete implementation result classes only construct this class. More... | |
| class | ACE_WIN32_Asynch_Accept_Result |
This class has all the information necessary for the <handler> to uniquiely identify the completion of the asynchronous accept.
Definition at line 847 of file Asynch_IO.h.
|
|
Contructor. Implementation will not be deleted.
Definition at line 719 of file Asynch_IO.cpp. References ACE_Asynch_Accept::implementation, and ACE_Asynch_Accept::implementation_.
00720 : ACE_Asynch_Result (implementation), 00721 implementation_ (implementation) 00722 { 00723 } |
|
|
Destructor.
Definition at line 725 of file Asynch_IO.cpp.
00726 {
00727 // Proactor will delete the implementation when the <complete> call
00728 // completes.
00729 }
|
|
|
I/O handle for the new connection.
Definition at line 714 of file Asynch_IO.cpp. References ACE_Asynch_Accept_Result_Impl::accept_handle, and implementation. Referenced by ACE_Asynch_Acceptor::handle_accept, and ACE_Asynch_Acceptor::parse_address.
00715 {
00716 return this->implementation ()->accept_handle ();
00717 }
|
|
|
The number of bytes which were requested at the start of the asynchronous accept.
Definition at line 696 of file Asynch_IO.cpp. References ACE_Asynch_Accept_Result_Impl::bytes_to_read, and implementation.
00697 {
00698 return this->implementation ()->bytes_to_read ();
00699 }
|
|
|
Get the implementation.
Reimplemented from ACE_Asynch_Result. Definition at line 732 of file Asynch_IO.cpp. References implementation_. Referenced by accept_handle, bytes_to_read, listen_handle, and message_block.
00733 {
00734 return this->implementation_;
00735 }
|
|
|
I/O handle used for accepting new connections.
Definition at line 708 of file Asynch_IO.cpp. References implementation, and ACE_Asynch_Accept_Result_Impl::listen_handle.
00709 {
00710 return this->implementation ()->listen_handle ();
00711 }
|
|
|
Message block which contains the read data.
Definition at line 702 of file Asynch_IO.cpp. References implementation, and ACE_Asynch_Accept_Result_Impl::message_block. Referenced by ACE_Asynch_Acceptor::handle_accept, and ACE_Asynch_Acceptor::parse_address.
00703 {
00704 return this->implementation ()->message_block ();
00705 }
|
|
|
The concrete implementation result classes only construct this class.
Definition at line 852 of file Asynch_IO.h. |
|
|
Definition at line 853 of file Asynch_IO.h. |
|
|
Impelmentation class.
Reimplemented from ACE_Asynch_Result. Definition at line 880 of file Asynch_IO.h. Referenced by implementation. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002