diff options
author | marina <marina@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-11-19 00:51:38 +0000 |
---|---|---|
committer | marina <marina@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-11-19 00:51:38 +0000 |
commit | 623762cb5deef3a34b5ec620dd506914e45bb42f (patch) | |
tree | b20f171ba14adfca13ba7eea4ff63ed3b5fda163 /TAO/tao/Connector_Registry.cpp | |
parent | d143471d961def7dd027caabd386ee91165895af (diff) | |
download | ATCD-623762cb5deef3a34b5ec620dd506914e45bb42f.tar.gz |
ChangeLogTag:Sat Nov 18 18:11:42 2000 Marina Spivak <marina@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/Connector_Registry.cpp')
-rw-r--r-- | TAO/tao/Connector_Registry.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/TAO/tao/Connector_Registry.cpp b/TAO/tao/Connector_Registry.cpp index 8c08e2c945d..3828043fad7 100644 --- a/TAO/tao/Connector_Registry.cpp +++ b/TAO/tao/Connector_Registry.cpp @@ -7,7 +7,7 @@ #include "tao/Endpoint.h" #include "tao/Environment.h" #include "tao/debug.h" -#include "tao/Base_Connection_Property.h" +#include "tao/Connection_Descriptor_Interface.h" #if !defined(__ACE_INLINE__) #include "tao/Connector_Registry.i" @@ -264,11 +264,12 @@ TAO_Connector_Registry::preprocess_preconnects (TAO_ORB_Core *orb_core, int -TAO_Connector_Registry::connect (TAO_Endpoint *endpoint, +TAO_Connector_Registry::connect (TAO_Connection_Descriptor_Interface *desc, TAO_Transport *&transport, ACE_Time_Value *max_wait_time, CORBA::Environment &ACE_TRY_ENV) { + TAO_Endpoint *endpoint = desc->endpoint (); if (endpoint == 0) return -1; @@ -279,10 +280,7 @@ TAO_Connector_Registry::connect (TAO_Endpoint *endpoint, if (connector == 0) return -1; - // Compose the Base connection property object - TAO_Base_Connection_Property conn_property (endpoint); - - return connector->connect (&conn_property, + return connector->connect (desc, transport, max_wait_time, ACE_TRY_ENV); |