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


Public Member Functions | |
| size_t | bytes_to_read (void) const |
| ACE_Message_Block & | message_block (void) const |
| Message block which contains the read data. | |
| ACE_HANDLE | listen_handle (void) const |
| I/O handle used for accepting new connections. | |
| ACE_HANDLE | accept_handle (void) const |
| I/O handle for the new connection. | |
| ACE_Asynch_Accept_Result_Impl * | implementation (void) const |
| Get the implementation. | |
Protected Member Functions | |
| Result (ACE_Asynch_Accept_Result_Impl *implementation) | |
| Contructor. Implementation will not be deleted. | |
| virtual | ~Result (void) |
| Destructor. | |
Protected Attributes | |
| ACE_Asynch_Accept_Result_Impl * | implementation_ |
| Impelmentation class. | |
Friends | |
| class | ACE_POSIX_Asynch_Accept_Result |
| 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 897 of file Asynch_IO.h.
|
|
Contructor. Implementation will not be deleted.
Definition at line 638 of file Asynch_IO.cpp.
00639 : ACE_Asynch_Result (implementation), 00640 implementation_ (implementation) 00641 { 00642 } |
|
|
Destructor.
Definition at line 644 of file Asynch_IO.cpp.
00645 {
00646 // Proactor will delete the implementation when the <complete> call
00647 // completes.
00648 }
|
|
|
I/O handle for the new connection.
Definition at line 633 of file Asynch_IO.cpp. References ACE_Asynch_Accept_Result_Impl::accept_handle(), and implementation(). Referenced by ACE_Asynch_Acceptor< HANDLER >::handle_accept(), and ACE_Asynch_Acceptor< HANDLER >::parse_address().
00634 {
00635 return this->implementation ()->accept_handle ();
00636 }
|
|
|
The number of bytes which were requested at the start of the asynchronous accept. Definition at line 615 of file Asynch_IO.cpp. References ACE_Asynch_Accept_Result_Impl::bytes_to_read(), and implementation().
00616 {
00617 return this->implementation ()->bytes_to_read ();
00618 }
|
|
|
Get the implementation.
Reimplemented from ACE_Asynch_Result. Definition at line 651 of file Asynch_IO.cpp. Referenced by accept_handle(), bytes_to_read(), listen_handle(), and message_block().
00652 {
00653 return this->implementation_;
00654 }
|
|
|
I/O handle used for accepting new connections.
Definition at line 627 of file Asynch_IO.cpp. References implementation(), and ACE_Asynch_Accept_Result_Impl::listen_handle().
00628 {
00629 return this->implementation ()->listen_handle ();
00630 }
|
|
|
Message block which contains the read data.
Definition at line 621 of file Asynch_IO.cpp. References implementation(), and ACE_Asynch_Accept_Result_Impl::message_block(). Referenced by ACE_Asynch_Acceptor< HANDLER >::handle_accept(), and ACE_Asynch_Acceptor< HANDLER >::parse_address().
00622 {
00623 return this->implementation ()->message_block ();
00624 }
|
|
|
The concrete implementation result classes only construct this class. Definition at line 902 of file Asynch_IO.h. |
|
|
Definition at line 903 of file Asynch_IO.h. |
|
|
Impelmentation class.
Reimplemented from ACE_Asynch_Result. Definition at line 930 of file Asynch_IO.h. |
1.3.6