diff options
Diffstat (limited to 'TAO/tao/Connector_Registry.h')
-rw-r--r-- | TAO/tao/Connector_Registry.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/TAO/tao/Connector_Registry.h b/TAO/tao/Connector_Registry.h index db921bd8a18..481b1281a37 100644 --- a/TAO/tao/Connector_Registry.h +++ b/TAO/tao/Connector_Registry.h @@ -18,13 +18,13 @@ #define TAO_CONNECTOR_REGISTRY_H #include "ace/pre.h" -#include "tao/corbafwd.h" +#include "corbafwd.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ -#include "params.h" +#include "Endpoint.h" // Forward declarations. class ACE_Addr; @@ -65,7 +65,8 @@ public: ~TAO_Connector_Registry (void); /// Return the connector bridges - TAO_Connector *get_connector (CORBA::ULong tag); + TAO_Connector *get_connector (CORBA::ULong tag); + TAO_Connector *get_connector (TAO_Endpoint *ep); /// Initialize all registered connectors. int open (TAO_ORB_Core *orb_core); @@ -74,8 +75,10 @@ public: int close_all (void); - /** + * @@ todo: This method needs to be removed. There should be no need + * for the registry to establish connections. + * * This is where the transport protocol is selected based on some * policy. This member will call the connect member of the * TAO_Connector class which in turn will call the concrete |