TAO  2.3.3
Public Member Functions | Protected Types | Protected Attributes | List of all members
TAO_Accept_Strategy< SVC_HANDLER, ACE_PEER_ACCEPTOR_1 > Class Template Reference

#include <Acceptor_Impl.h>

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

Public Member Functions

 TAO_Accept_Strategy (TAO_ORB_Core *orb_core)
 Constructor. More...
 
int open (const ACE_PEER_ACCEPTOR_ADDR &local_addr, bool restart=false)
 
int accept_svc_handler (SVC_HANDLER *svc_handler)
 
- Public Member Functions inherited from ACE_Accept_Strategy< SVC_HANDLER, ACE_PEER_ACCEPTOR_2 >
 ACE_Accept_Strategy (ACE_Reactor *reactor=ACE_Reactor::instance())
 
 ACE_Accept_Strategy (const ACE_PEER_ACCEPTOR_ADDR &local_addr, bool restart=false, ACE_Reactor *reactor=ACE_Reactor::instance())
 
virtual ACE_HANDLE get_handle (void) const
 
virtual ACE_PEER_ACCEPTORacceptor (void) const
 
virtual ~ACE_Accept_Strategy (void)
 
void dump (void) const
 

Protected Types

typedef ACE_Accept_Strategy< SVC_HANDLER, ACE_PEER_ACCEPTOR_2ACCEPT_STRATEGY_BASE
 Base class. More...
 

Protected Attributes

TAO_ORB_Coreorb_core_
 Pointer to the ORB Core. More...
 
- Protected Attributes inherited from ACE_Accept_Strategy< SVC_HANDLER, ACE_PEER_ACCEPTOR_2 >
ACE_PEER_ACCEPTOR peer_acceptor_
 
ACE_Reactorreactor_
 
bool reuse_addr_
 
ACE_PEER_ACCEPTOR_ADDR peer_acceptor_addr_
 

Additional Inherited Members

- Public Types inherited from ACE_Accept_Strategy< SVC_HANDLER, ACE_PEER_ACCEPTOR_2 >
typedef ACE_PEER_ACCEPTOR_ADDR addr_type
 
typedef ACE_PEER_ACCEPTOR acceptor_type
 
typedef SVC_HANDLER handler_type
 
typedef SVC_HANDLER::stream_type stream_type
 
- Public Attributes inherited from ACE_Accept_Strategy< SVC_HANDLER, ACE_PEER_ACCEPTOR_2 >
 ACE_ALLOC_HOOK_DECLARE
 

Member Typedef Documentation

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

Base class.

Constructor & Destructor Documentation

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

Constructor.

Member Function Documentation

template<class SVC_HANDLER , ACE_PEER_ACCEPTOR_1 >
int TAO_Accept_Strategy< SVC_HANDLER, ACE_PEER_ACCEPTOR_1 >::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 >.

template<class SVC_HANDLER , ACE_PEER_ACCEPTOR_1 >
int TAO_Accept_Strategy< SVC_HANDLER, ACE_PEER_ACCEPTOR_1 >::open ( const ACE_PEER_ACCEPTOR_ADDR local_addr,
bool  restart = false 
)
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 >.

Member Data Documentation

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

Pointer to the ORB Core.


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