#include <Transport_Acceptor.h>


Public Member Functions | |
| TAO_Strategy_Acceptor (TAO_Acceptor *acceptor) | |
| virtual int | handle_accept_error (void) |
| virtual int | handle_timeout (const ACE_Time_Value &, const void *) |
Private Attributes | |
| TAO_Acceptor * | acceptor_ |
This is a drop-in replacement class for the ACE_Strategy_Acceptor. It provides all of the same functionality and the additional functionality of handling accept() errors with some sort of configured action. All of the actual code is in the TAO_Acceptor to avoid multiply-instantiated code that would be, in effect, identical.
It is not declared nested within TAO_Acceptor as I originally wanted because it caused an internal compiler error for the Tornado 2.2.1 compiler.
Definition at line 183 of file Transport_Acceptor.h.
| TAO_Strategy_Acceptor< SVC_HANDLER, ACE_PEER_ACCEPTOR_1 >::TAO_Strategy_Acceptor | ( | TAO_Acceptor * | acceptor | ) | [inline] |
Definition at line 187 of file Transport_Acceptor.h.
: acceptor_ (acceptor) { }
| virtual int TAO_Strategy_Acceptor< SVC_HANDLER, ACE_PEER_ACCEPTOR_1 >::handle_accept_error | ( | void | ) | [inline, virtual] |
Reimplemented from ACE_Acceptor< SVC_HANDLER, ACE_PEER_ACCEPTOR_2 >.
Definition at line 192 of file Transport_Acceptor.h.
{
return this->acceptor_->handle_accept_error (this);
}
| virtual int TAO_Strategy_Acceptor< SVC_HANDLER, ACE_PEER_ACCEPTOR_1 >::handle_timeout | ( | const ACE_Time_Value & | , | |
| const void * | ||||
| ) | [inline, virtual] |
Definition at line 197 of file Transport_Acceptor.h.
{
return this->acceptor_->handle_expiration (this);
}
TAO_Acceptor* TAO_Strategy_Acceptor< SVC_HANDLER, ACE_PEER_ACCEPTOR_1 >::acceptor_ [private] |
Definition at line 203 of file Transport_Acceptor.h.
1.7.0