summaryrefslogtreecommitdiff
path: root/TAO/tao/RTCORBA/RT_Protocols_Hooks.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2002-08-29 21:58:52 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2002-08-29 21:58:52 +0000
commitb35bdd17c51341d5aca9c8361a2f5965820db984 (patch)
tree7d67cfd49539a2ff4007cc7da6ca8628df508fac /TAO/tao/RTCORBA/RT_Protocols_Hooks.cpp
parent0b2525d4a65700098921846e6759f50b53e337e0 (diff)
downloadATCD-b35bdd17c51341d5aca9c8361a2f5965820db984.tar.gz
ChangeLogTag:Thu Aug 29 14:48:51 2002 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'TAO/tao/RTCORBA/RT_Protocols_Hooks.cpp')
-rw-r--r--TAO/tao/RTCORBA/RT_Protocols_Hooks.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/TAO/tao/RTCORBA/RT_Protocols_Hooks.cpp b/TAO/tao/RTCORBA/RT_Protocols_Hooks.cpp
index 486c48974ad..3a8d90c2553 100644
--- a/TAO/tao/RTCORBA/RT_Protocols_Hooks.cpp
+++ b/TAO/tao/RTCORBA/RT_Protocols_Hooks.cpp
@@ -65,12 +65,12 @@ TAO_RT_Protocols_Hooks::init_hooks (TAO_ORB_Core *orb_core
this->orb_core_->object_ref_table ().resolve_initial_references (
"RTCurrent"
ACE_ENV_ARG_PARAMETER);
- ACE_TRY_CHECK;
-
+ ACE_CHECK;
+
this->current_ =
RTCORBA::Current::_narrow (object.in ()
ACE_ENV_ARG_PARAMETER);
- ACE_TRY_CHECK;
+ ACE_CHECK;
}
@@ -167,13 +167,13 @@ TAO_RT_Protocols_Hooks::update_client_protocol_properties (TAO_Stub *stub,
if (client_protocols != 0)
{
- //TAO_ClientProtocolPolicy
+ // TAO_ClientProtocolPolicy
RTCORBA::ProtocolList & protocols =
client_protocols->protocols_rep ();
for (CORBA::ULong j = 0; j < protocols.length (); ++j)
{
- if (protocols[j].protocol_type == TAO_TAG_IIOP_PROFILE)
+ if (protocols[j].protocol_type == IOP::TAG_INTERNET_IOP)
{
properties =
RTCORBA::ProtocolProperties::_narrow (
@@ -264,18 +264,18 @@ TAO_RT_Protocols_Hooks::update_server_protocol_properties (CORBA::Policy *policy
if (server_protocols != 0)
{
- //TAO_ServerProtocolPolicy
+ // TAO_ServerProtocolPolicy
RTCORBA::ProtocolList & protocols =
server_protocols->protocols_rep ();
for (CORBA::ULong j = 0; j < protocols.length (); ++j)
{
- if (protocols[j].protocol_type == TAO_TAG_IIOP_PROFILE)
+ if (protocols[j].protocol_type == IOP::TAG_INTERNET_IOP)
{
properties =
RTCORBA::ProtocolProperties::_narrow (
- protocols[j].transport_protocol_properties.in ()
- ACE_ENV_ARG_PARAMETER);
+ protocols[j].transport_protocol_properties.in ()
+ ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
if (ACE_OS::strcmp (protocol_type, "iiop") == 0)