TAO_Strategy_Acceptor< SVC_HANDLER, > Class Template Reference

#include <Transport_Acceptor.h>

Inheritance diagram for TAO_Strategy_Acceptor< SVC_HANDLER, >:

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

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, >

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, >::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, >::handle_accept_error ( void   )  [inline, virtual]

template<class SVC_HANDLER, ACE_PEER_ACCEPTOR_1 >
virtual int TAO_Strategy_Acceptor< SVC_HANDLER, >::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, >::acceptor_ [private]


The documentation for this class was generated from the following file:

Generated on Mon Sep 15 07:42:32 2008 for TAO by  doxygen 1.5.5