#include <Acceptor_Impl.h>
Inheritance diagram for TAO_Creation_Strategy< SVC_HANDLER >:
Public Member Functions | |
TAO_Creation_Strategy (TAO_ORB_Core *orb_core) | |
int | make_svc_handler (SVC_HANDLER *&sh) |
Create a SVC_HANDLER and set the ORB_Core pointer on it. | |
Protected Attributes | |
TAO_ORB_Core * | orb_core_ |
Pointer to the ORB Core. |
Definition at line 38 of file Acceptor_Impl.h.
TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_Creation_Strategy< SVC_HANDLER >::TAO_Creation_Strategy | ( | TAO_ORB_Core * | orb_core | ) |
Constructor.
Definition at line 36 of file Acceptor_Impl.cpp.
00037 : ACE_Creation_Strategy<SVC_HANDLER> (0, orb_core->reactor()), 00038 orb_core_ (orb_core) 00039 { 00040 }
int TAO_Creation_Strategy< SVC_HANDLER >::make_svc_handler | ( | SVC_HANDLER *& | sh | ) | [virtual] |
Create a SVC_HANDLER and set the ORB_Core pointer on it.
Reimplemented from ACE_Creation_Strategy< SVC_HANDLER >.
Definition at line 43 of file Acceptor_Impl.cpp.
References ACE_NEW_RETURN, TAO_ORB_Core::lane_resources(), TAO_Creation_Strategy< SVC_HANDLER >::orb_core_, and TAO_Thread_Lane_Resources::transport_cache().
00044 { 00045 if (sh == 0) 00046 { 00047 // Purge connections (if necessary) 00048 this->orb_core_->lane_resources ().transport_cache ().purge (); 00049 00050 ACE_NEW_RETURN (sh, 00051 SVC_HANDLER (this->orb_core_), 00052 -1); 00053 } 00054 00055 return 0; 00056 }
TAO_ORB_Core* TAO_Creation_Strategy< SVC_HANDLER >::orb_core_ [protected] |
Pointer to the ORB Core.
Definition at line 51 of file Acceptor_Impl.h.
Referenced by TAO_Creation_Strategy< SVC_HANDLER >::make_svc_handler().