summaryrefslogtreecommitdiff
path: root/TAO/tao/Endpoint_Selector_Factory.cpp
diff options
context:
space:
mode:
authorfhunleth <fhunleth@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-04-05 16:26:35 +0000
committerfhunleth <fhunleth@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-04-05 16:26:35 +0000
commit650e429e21d64cb99fd24b330ba422df9c896218 (patch)
tree92bf53e0eb4d8b8b4ca6b3721196ec4d0fe0e15a /TAO/tao/Endpoint_Selector_Factory.cpp
parente434bdc5f88f78c5f51a3df68058766a5d9713b4 (diff)
downloadATCD-650e429e21d64cb99fd24b330ba422df9c896218.tar.gz
ChangeLogTag: Thu Apr 5 11:04:52 2001 Frank Hunleth <fhunleth@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/Endpoint_Selector_Factory.cpp')
-rw-r--r--TAO/tao/Endpoint_Selector_Factory.cpp27
1 files changed, 27 insertions, 0 deletions
diff --git a/TAO/tao/Endpoint_Selector_Factory.cpp b/TAO/tao/Endpoint_Selector_Factory.cpp
new file mode 100644
index 00000000000..6d1551957f7
--- /dev/null
+++ b/TAO/tao/Endpoint_Selector_Factory.cpp
@@ -0,0 +1,27 @@
+// $Id$
+
+#include "tao/Endpoint_Selector_Factory.h"
+#include "tao/Invocation.h"
+
+ACE_RCSID(tao, Endpoint_Selector_Factory, "$Id$")
+
+TAO_Endpoint_Selector_Factory::TAO_Endpoint_Selector_Factory (void)
+{
+ ACE_NEW (this->default_endpoint_selector_,
+ TAO_Default_Endpoint_Selector);
+
+}
+
+ACE_INLINE
+TAO_Endpoint_Selector_Factory::~TAO_Endpoint_Selector_Factory (void)
+{
+ delete this->default_endpoint_selector_;
+}
+
+
+TAO_Invocation_Endpoint_Selector *
+TAO_Endpoint_Selector_Factory::get_selector (TAO_GIOP_Invocation *,
+ CORBA::Environment &)
+{
+ return this->default_endpoint_selector_;
+}