#include <Connector_Impl.h>
Inheritance diagram for TAO_Connect_Creation_Strategy< SVC_HANDLER >:
Public Member Functions | |
TAO_Connect_Creation_Strategy (ACE_Thread_Manager *=0, TAO_ORB_Core *orb_core=0) | |
Constructor. | |
virtual int | make_svc_handler (SVC_HANDLER *&sh) |
Makes TAO_*_Client_Connection_Handlers. | |
Private Attributes | |
TAO_ORB_Core *const | orb_core_ |
Pointer to the ORB_Core on which we are activated. |
Creates the TAO_*_Connection_Handler object for the TAO_*_Connector objects. This template class can now be used by all the Connector objects instead of having to duplicate code. This class can be used to set any required properties on the connection handlers at creation time.
Definition at line 47 of file Connector_Impl.h.
TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_Connect_Creation_Strategy< SVC_HANDLER >::TAO_Connect_Creation_Strategy | ( | ACE_Thread_Manager * | = 0 , |
|
TAO_ORB_Core * | orb_core = 0 | |||
) |
Constructor.
Definition at line 16 of file Connector_Impl.cpp.
00018 : ACE_Creation_Strategy <SVC_HANDLER> (t), 00019 orb_core_ (orb_core) 00020 { 00021 00022 }
int TAO_Connect_Creation_Strategy< SVC_HANDLER >::make_svc_handler | ( | SVC_HANDLER *& | sh | ) | [virtual] |
Makes TAO_*_Client_Connection_Handlers.
Reimplemented from ACE_Creation_Strategy< SVC_HANDLER >.
Definition at line 25 of file Connector_Impl.cpp.
References ACE_NEW_RETURN.
00026 { 00027 if (sh == 0) 00028 ACE_NEW_RETURN (sh, 00029 SVC_HANDLER (this->orb_core_), 00030 -1); 00031 00032 // We add to the #REFCOUNT# since the Connector needs this. See 00033 // Connector::make_connection() for details. 00034 sh->add_reference (); 00035 00036 // At this point, the #REFCOUNT# is two. 00037 00038 return 0; 00039 }
TAO_ORB_Core* const TAO_Connect_Creation_Strategy< SVC_HANDLER >::orb_core_ [private] |