diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2003-02-20 17:31:20 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2003-02-20 17:31:20 +0000 |
commit | 3c518e1bb372a5fabd9277c8862b9f5f79ada483 (patch) | |
tree | bc965de7216ef269eb3b8bde4d14b3cd288a9839 /TAO/tao/Transport_Connector.cpp | |
parent | 21324f8d9270ee3052ebf5fd1a595e16ff3ba9f8 (diff) | |
download | ATCD-3c518e1bb372a5fabd9277c8862b9f5f79ada483.tar.gz |
ChangeLogTag:Thu Feb 20 09:07:56 2003 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'TAO/tao/Transport_Connector.cpp')
-rw-r--r-- | TAO/tao/Transport_Connector.cpp | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/TAO/tao/Transport_Connector.cpp b/TAO/tao/Transport_Connector.cpp index 2e65ddcd221..e3b4a899c2a 100644 --- a/TAO/tao/Transport_Connector.cpp +++ b/TAO/tao/Transport_Connector.cpp @@ -51,7 +51,7 @@ TAO_Connector::make_mprofile (const char *string, if (!string || !*string) { ACE_THROW_RETURN (CORBA::INV_OBJREF ( - CORBA_SystemException::_tao_minor_code ( + CORBA::SystemException::_tao_minor_code ( TAO_DEFAULT_MINOR_CODE, EINVAL), CORBA::COMPLETED_NO), @@ -128,7 +128,7 @@ TAO_Connector::make_mprofile (const char *string, if (mprofile.set (profile_count) != ACE_static_cast (int, profile_count)) { ACE_THROW_RETURN (CORBA::INV_OBJREF ( - CORBA_SystemException::_tao_minor_code ( + CORBA::SystemException::_tao_minor_code ( TAO_MPROFILE_CREATION_ERROR, 0), CORBA::COMPLETED_NO), @@ -188,7 +188,7 @@ TAO_Connector::make_mprofile (const char *string, profile->_decr_refcnt (); ACE_THROW_RETURN (CORBA::INV_OBJREF ( - CORBA_SystemException::_tao_minor_code ( + CORBA::SystemException::_tao_minor_code ( TAO_MPROFILE_CREATION_ERROR, 0), CORBA::COMPLETED_NO), @@ -234,8 +234,9 @@ TAO_Connector::connect (TAO_GIOP_Invocation *invocation, // If transport found, reference count is incremented on assignment // @@todo: We need to send the timeout value to the cache registry // too. That should be the next step! - if (this->orb_core ()->lane_resources ().transport_cache ().find_transport (desc, - base_transport) == 0) + if (this->orb_core ()->lane_resources ().transport_cache ().find_transport ( + desc, + base_transport) == 0) { if (TAO_debug_level > 2) ACE_DEBUG ((LM_DEBUG, @@ -250,7 +251,7 @@ TAO_Connector::connect (TAO_GIOP_Invocation *invocation, // base_transport. transport = base_transport; - // Successfull + // Successful return 0; } @@ -270,7 +271,8 @@ TAO_Connector::create_connect_strategy (void) if (this->active_connect_strategy_ == 0) { this->active_connect_strategy_ = - this->orb_core_->client_factory ()->create_connect_strategy (this->orb_core_); + this->orb_core_->client_factory ()->create_connect_strategy ( + this->orb_core_); } if (this->active_connect_strategy_ == 0) |