TAO  2.0.8
Public Member Functions | Private Attributes
TAO_Strategy_Acceptor< SVC_HANDLER, ACE_PEER_ACCEPTOR_1 > Class Template Reference

#include <Transport_Acceptor.h>

Inheritance diagram for TAO_Strategy_Acceptor< SVC_HANDLER, ACE_PEER_ACCEPTOR_1 >:
Inheritance graph
[legend]
Collaboration diagram for TAO_Strategy_Acceptor< SVC_HANDLER, ACE_PEER_ACCEPTOR_1 >:
Collaboration graph
[legend]

List of all members.

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_Acceptoracceptor_

Detailed Description

template<class SVC_HANDLER, ACE_PEER_ACCEPTOR_1>
class TAO_Strategy_Acceptor< SVC_HANDLER, ACE_PEER_ACCEPTOR_1 >

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.


Constructor & Destructor Documentation

template<class SVC_HANDLER, ACE_PEER_ACCEPTOR_1 >
TAO_Strategy_Acceptor< SVC_HANDLER, ACE_PEER_ACCEPTOR_1 >::TAO_Strategy_Acceptor ( TAO_Acceptor acceptor) [inline]

Member Function Documentation

template<class SVC_HANDLER, ACE_PEER_ACCEPTOR_1 >
virtual int TAO_Strategy_Acceptor< SVC_HANDLER, ACE_PEER_ACCEPTOR_1 >::handle_accept_error ( void  ) [inline, virtual]
template<class SVC_HANDLER, ACE_PEER_ACCEPTOR_1 >
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.


Member Data Documentation

template<class SVC_HANDLER, ACE_PEER_ACCEPTOR_1 >
TAO_Acceptor* TAO_Strategy_Acceptor< SVC_HANDLER, ACE_PEER_ACCEPTOR_1 >::acceptor_ [private]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines