Creation strategy helper. More...
#include <Connector_Impl.h>
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. |
Creation strategy helper.
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_Connect_Creation_Strategy< SVC_HANDLER >::TAO_Connect_Creation_Strategy | ( | ACE_Thread_Manager * | t = 0 , |
|
TAO_ORB_Core * | orb_core = 0 | |||
) |
Constructor.
Definition at line 17 of file Connector_Impl.cpp.
: ACE_Creation_Strategy <SVC_HANDLER> (t), orb_core_ (orb_core) { }
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 26 of file Connector_Impl.cpp.
{ if (sh == 0) ACE_NEW_RETURN (sh, SVC_HANDLER (this->orb_core_), -1); sh->transport ()->opened_as (TAO::TAO_CLIENT_ROLE); // At this point, the #REFCOUNT# is one. return 0; }
TAO_ORB_Core* const TAO_Connect_Creation_Strategy< SVC_HANDLER >::orb_core_ [private] |
Pointer to the ORB_Core on which we are activated.
Definition at line 62 of file Connector_Impl.h.