Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Default_Endpoint_Selector_Factory.cpp

Go to the documentation of this file.
00001 #include "tao_pch.h"
00002 // $Id: Default_Endpoint_Selector_Factory.cpp,v 1.1.1.2.2.1 2003/03/14 16:05:12 chad Exp $
00003 
00004 
00005 #include "tao/Default_Endpoint_Selector_Factory.h"
00006 #include "tao/Invocation_Endpoint_Selectors.h"
00007 #include "ace/Log_Msg.h"
00008 
00009 ACE_RCSID (tao,
00010            Default_Endpoint_Selector_Factory,
00011            "$Id: Default_Endpoint_Selector_Factory.cpp,v 1.1.1.2.2.1 2003/03/14 16:05:12 chad Exp $")
00012 
00013 TAO_Default_Endpoint_Selector_Factory::TAO_Default_Endpoint_Selector_Factory (void)
00014 {
00015   ACE_NEW (this->default_endpoint_selector_,
00016            TAO_Default_Endpoint_Selector);
00017 
00018 }
00019 
00020 TAO_Default_Endpoint_Selector_Factory::~TAO_Default_Endpoint_Selector_Factory (void)
00021 {
00022   delete this->default_endpoint_selector_;
00023 }
00024 
00025 
00026 TAO_Invocation_Endpoint_Selector *
00027 TAO_Default_Endpoint_Selector_Factory::get_selector (TAO_GIOP_Invocation *
00028                                                      ACE_ENV_ARG_DECL_NOT_USED)
00029 {
00030   // Trivial endpoint selector.  Just return the default selector.
00031   return this->default_endpoint_selector_;
00032 }
00033 
00034 // ****************************************************************
00035 
00036 ACE_STATIC_SVC_DEFINE (TAO_Default_Endpoint_Selector_Factory,
00037                        ACE_TEXT ("Default_Endpoint_Selector_Factory"),
00038                        ACE_SVC_OBJ_T,
00039                        &ACE_SVC_NAME (TAO_Default_Endpoint_Selector_Factory),
00040                        ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ,
00041                        0)
00042 ACE_FACTORY_DEFINE (TAO, TAO_Default_Endpoint_Selector_Factory)

Generated on Mon Jun 16 13:48:13 2003 for TAO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002