From f43876a54c2fe82ff21b0813721483b6d3670f48 Mon Sep 17 00:00:00 2001 From: bala Date: Wed, 9 Jul 2003 17:15:07 +0000 Subject: ChangeLogTag:Wed Jul 9 12:14:15 2003 Balachandran Natarajan --- TAO/ChangeLog_ref | 5 +++++ TAO/tao/Invocation_Base.cpp | 10 ++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/TAO/ChangeLog_ref b/TAO/ChangeLog_ref index c8c5575b35a..9d8c608fd67 100644 --- a/TAO/ChangeLog_ref +++ b/TAO/ChangeLog_ref @@ -1,3 +1,8 @@ +Wed Jul 9 12:14:15 2003 Balachandran Natarajan + + * tao/Invocation_Base.cpp (TAO): Fixed a logic problem in the loop + to make the invocation in the loop. + Wed Jul 9 11:10:20 2003 Jeff Parsons * TAO_IDL/ast/ast_decl.cpp: diff --git a/TAO/tao/Invocation_Base.cpp b/TAO/tao/Invocation_Base.cpp index ca0eb04d793..4183abe77c4 100644 --- a/TAO/tao/Invocation_Base.cpp +++ b/TAO/tao/Invocation_Base.cpp @@ -69,9 +69,9 @@ Invocation_Base::Invocation_Base (CORBA::Object *target, ex_data, ex_count); - /*while (status != TAO_INVOKE_SUCCESS || - status != TAO_INVOKE_FAILURE) - {*/ + while (status == TAO_INVOKE_START || + status == TAO_INVOKE_RESTART) + { Profile_Transport_Resolver resolver (stub); resolver.resolve (ACE_ENV_SINGLE_ARG_PARAMETER); @@ -113,6 +113,8 @@ Invocation_Base::Invocation_Base (CORBA::Object *target, this->number_args_ ACE_ENV_ARG_PARAMETER); ACE_CHECK; + + cout << "Status is " << (int) status << endl; } else if (this->type_ == TAO_TWOWAY_INVOCATION && this->mode_ == TAO_ASYNCHRONOUS_CALLBACK_INVOCATION) @@ -124,7 +126,7 @@ Invocation_Base::Invocation_Base (CORBA::Object *target, EINVAL), CORBA::COMPLETED_NO)); } - /*}*/ + } } -- cgit v1.2.1