From 710e4da3853f380f84e01e670b25058351b35adc Mon Sep 17 00:00:00 2001 From: Marc Laukien Date: Wed, 28 Jan 2004 16:28:26 +0000 Subject: started with AMI changes --- cpp/src/slice2cpp/Gen.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'cpp/src/slice2cpp/Gen.cpp') diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index ae589c64469..40474e6ba9d 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -1265,9 +1265,6 @@ Slice::Gen::ProxyVisitor::visitOperation(const OperationPtr& p) C << sp << nl << "void" << nl << "IceProxy" << scoped << "_async" << paramsDeclAMI << ", const ::Ice::Context& __ctx)"; C << sb; - C << nl << "int __cnt = 0;"; - C << nl << "while(true)"; - C << sb; C << nl << "try"; C << sb; // Async requests may only be sent twoway. @@ -1277,12 +1274,10 @@ Slice::Gen::ProxyVisitor::visitOperation(const OperationPtr& p) << thisPointer << ">(__delBase.get());"; C << nl; C << "__del->" << name << "_async" << argsAMI << "__ctx);"; - C << nl << "return;"; C << eb; C << nl << "catch(const ::Ice::LocalException& __ex)"; C << sb; - C << nl << "__handleException(__ex, __cnt);"; - C << eb; + C << nl << "__cb->__finished(__ex);"; C << eb; C << eb; } -- cgit v1.2.3