diff options
Diffstat (limited to 'TAO/tao/IIOP_Connector.cpp')
-rw-r--r-- | TAO/tao/IIOP_Connector.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/TAO/tao/IIOP_Connector.cpp b/TAO/tao/IIOP_Connector.cpp index fb4115ad299..353fb469af5 100644 --- a/TAO/tao/IIOP_Connector.cpp +++ b/TAO/tao/IIOP_Connector.cpp @@ -110,6 +110,13 @@ TAO_IIOP_Connector::connect (TAO_Connection_Descriptor_Interface *desc, TAO_IIOP_Connection_Handler *svc_handler = 0; TAO_Connection_Handler *conn_handler = 0; + // If the BiDir policy has been set look for BiDir Connections if + // any + if (this->orb_core ()->bidir_giop_policy ()) + { + desc->set_bidir_flag (1); + } + // Check the Cache first for connections if (this->orb_core ()->connection_cache ().find_handler (desc, conn_handler) == 0) |