Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

TAO_Accept_Strategy Class Template Reference

#include <Acceptor_Impl.h>

Inheritance diagram for TAO_Accept_Strategy:

Inheritance graph
[legend]
Collaboration diagram for TAO_Accept_Strategy:

Collaboration graph
[legend]
List of all members.

Public Methods

 TAO_Accept_Strategy (TAO_ORB_Core *orb_core)
 Constructor. More...

int open (const ACE_PEER_ACCEPTOR_ADDR &local_addr, int restart=0)
 Initialize the <peer_acceptor_> with <local_addr>. If the process runs out of handles, purge some "old" connections. More...

int accept_svc_handler (SVC_HANDLER *svc_handler)
 Delegates to the <accept> method of the PEER_ACCEPTOR. If the process runs out of handles, purge some "old" connections. More...


Protected Types

typedef ACE_Accept_Strategy<
SVC_HANDLER, ACE_PEER_ACCEPTOR_2
ACCEPT_STRATEGY_BASE
 Base class. More...


Protected Attributes

TAO_ORB_Coreorb_core_
 Pointer to the ORB Core. More...

template<class SVC_HANDLER, ACE_PEER_ACCEPTOR_1>
class TAO_Accept_Strategy< SVC_HANDLER, >


Member Typedef Documentation

template<class SVC_HANDLER, ACE_PEER_ACCEPTOR_1 >
typedef ACE_Accept_Strategy<SVC_HANDLER, ACE_PEER_ACCEPTOR_2> TAO_Accept_Strategy::ACCEPT_STRATEGY_BASE [protected]
 

Base class.

Definition at line 107 of file Acceptor_Impl.h.


Constructor & Destructor Documentation

template<class SVC_HANDLER, ACE_PEER_ACCEPTOR_1 >
TAO_Accept_Strategy< SVC_HANDLER, >::TAO_Accept_Strategy TAO_ORB_Core   orb_core
 

Constructor.

Definition at line 114 of file Acceptor_Impl.cpp.

00115   : orb_core_ (orb_core)
00116 {
00117 }


Member Function Documentation

template<class SVC_HANDLER, ACE_PEER_ACCEPTOR_1 >
int TAO_Accept_Strategy< SVC_HANDLER, >::accept_svc_handler SVC_HANDLER *    svc_handler [virtual]
 

Delegates to the <accept> method of the PEER_ACCEPTOR. If the process runs out of handles, purge some "old" connections.

Reimplemented from ACE_Accept_Strategy< SVC_HANDLER, ACE_PEER_ACCEPTOR_2 >.

Definition at line 129 of file Acceptor_Impl.cpp.

00130 {
00131   return ACCEPT_STRATEGY_BASE::accept_svc_handler (svc_handler);
00132 }

template<class SVC_HANDLER, ACE_PEER_ACCEPTOR_1 >
int TAO_Accept_Strategy< SVC_HANDLER, >::open const ACE_PEER_ACCEPTOR_ADDR   local_addr,
int    restart = 0
[virtual]
 

Initialize the <peer_acceptor_> with <local_addr>. If the process runs out of handles, purge some "old" connections.

Reimplemented from ACE_Accept_Strategy< SVC_HANDLER, ACE_PEER_ACCEPTOR_2 >.

Definition at line 120 of file Acceptor_Impl.cpp.

References ACE_PEER_ACCEPTOR_ADDR.

00122 {
00123 
00124   return ACCEPT_STRATEGY_BASE::open (local_addr,
00125                                      restart);
00126 }


Member Data Documentation

template<class SVC_HANDLER, ACE_PEER_ACCEPTOR_1 >
TAO_ORB_Core* TAO_Accept_Strategy::orb_core_ [protected]
 

Pointer to the ORB Core.

Definition at line 110 of file Acceptor_Impl.h.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 15:02:40 2003 for TAO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002