TAO
2.0.8
|
#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.
TAO_Strategy_Acceptor< SVC_HANDLER, ACE_PEER_ACCEPTOR_1 >::TAO_Strategy_Acceptor | ( | TAO_Acceptor * | acceptor | ) | [inline] |
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 >.
virtual int TAO_Strategy_Acceptor< SVC_HANDLER, ACE_PEER_ACCEPTOR_1 >::handle_timeout | ( | const ACE_Time_Value & | , |
const void * | |||
) | [inline, virtual] |
Reimplemented from ACE_Event_Handler.
TAO_Acceptor* TAO_Strategy_Acceptor< SVC_HANDLER, ACE_PEER_ACCEPTOR_1 >::acceptor_ [private] |