RT_Endpoint_Selector_Factory.cpp

Go to the documentation of this file.
00001 #include "tao/RTCORBA/RT_Endpoint_Selector_Factory.h"
00002 
00003 #if defined (TAO_HAS_CORBA_MESSAGING) && TAO_HAS_CORBA_MESSAGING != 0
00004 
00005 #include "tao/RTCORBA/RT_Invocation_Endpoint_Selectors.h"
00006 #include "tao/RTCORBA/RT_Endpoint_Utils.h"
00007 #include "tao/RTCORBA/RT_Stub.h"
00008 
00009 #include "tao/Protocols_Hooks.h"
00010 
00011 #include "ace/Log_Msg.h"
00012 
00013 
00014 ACE_RCSID (RTCORBA,
00015            RT_Endpoint_Selector_Factory,
00016            "$Id: RT_Endpoint_Selector_Factory.cpp 76551 2007-01-24 13:42:44Z johnnyw $")
00017 
00018 
00019 // ****************************************************************
00020 
00021 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00022 
00023 RT_Endpoint_Selector_Factory::RT_Endpoint_Selector_Factory (void)
00024 {
00025   ACE_NEW (this->rt_invocation_endpoint_selector_,
00026            TAO_RT_Invocation_Endpoint_Selector);
00027 }
00028 
00029 RT_Endpoint_Selector_Factory::~RT_Endpoint_Selector_Factory (void)
00030 {
00031   delete this->rt_invocation_endpoint_selector_;
00032 }
00033 
00034 TAO_Invocation_Endpoint_Selector *
00035 RT_Endpoint_Selector_Factory::get_selector (void)
00036 {
00037   return this->rt_invocation_endpoint_selector_;
00038 }
00039 
00040 TAO_END_VERSIONED_NAMESPACE_DECL
00041 
00042 // ****************************************************************
00043 
00044 ACE_STATIC_SVC_DEFINE (RT_Endpoint_Selector_Factory,
00045                        ACE_TEXT ("RT_Endpoint_Selector_Factory"),
00046                        ACE_SVC_OBJ_T,
00047                        &ACE_SVC_NAME (RT_Endpoint_Selector_Factory),
00048                        ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ,
00049                        0)
00050 ACE_FACTORY_DEFINE (TAO_RTCORBA, RT_Endpoint_Selector_Factory)
00051 
00052 #endif /* TAO_HAS_CORBA_MESSAGING && TAO_HAS_CORBA_MESSAGING != 0 */

Generated on Tue Feb 2 17:42:49 2010 for TAO_RTCORBA by  doxygen 1.4.7