#include <Acceptor_Impl.h>


Public Member Functions | |
| TAO_Accept_Strategy (TAO_ORB_Core *orb_core) | |
| Constructor. | |
| int | open (const ACE_PEER_ACCEPTOR_ADDR &local_addr, bool restart=false) |
| int | accept_svc_handler (SVC_HANDLER *svc_handler) |
Protected Types | |
| typedef ACE_Accept_Strategy < SVC_HANDLER, ACE_PEER_ACCEPTOR_2 > | ACCEPT_STRATEGY_BASE |
| Base class. | |
Protected Attributes | |
| TAO_ORB_Core * | orb_core_ |
| Pointer to the ORB Core. | |
Definition at line 82 of file Acceptor_Impl.h.
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.
Definition at line 100 of file Acceptor_Impl.h.
| TAO_Accept_Strategy< SVC_HANDLER, ACE_PEER_ACCEPTOR_1 >::TAO_Accept_Strategy | ( | TAO_ORB_Core * | orb_core | ) | [inline] |
Constructor.
Definition at line 195 of file Acceptor_Impl.cpp.
00196 : orb_core_ (orb_core) 00197 { 00198 }
| int TAO_Accept_Strategy< SVC_HANDLER, ACE_PEER_ACCEPTOR_1 >::accept_svc_handler | ( | SVC_HANDLER * | svc_handler | ) | [inline, 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 208 of file Acceptor_Impl.cpp.
00209 { 00210 int const result = ACCEPT_STRATEGY_BASE::accept_svc_handler (svc_handler); 00211 if (result == -1) 00212 { 00213 svc_handler->transport ()->remove_reference (); 00214 00215 // #REFCOUNT# is zero at this point. 00216 } 00217 00218 return result; 00219 }
| int TAO_Accept_Strategy< SVC_HANDLER, ACE_PEER_ACCEPTOR_1 >::open | ( | const ACE_PEER_ACCEPTOR_ADDR & | local_addr, | |
| bool | restart = false | |||
| ) | [inline, 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 201 of file Acceptor_Impl.cpp.
00203 { 00204 return ACCEPT_STRATEGY_BASE::open (local_addr, restart); 00205 }
TAO_ORB_Core* TAO_Accept_Strategy< SVC_HANDLER, ACE_PEER_ACCEPTOR_1 >::orb_core_ [protected] |
Pointer to the ORB Core.
Definition at line 103 of file Acceptor_Impl.h.
1.6.1