diff options
author | Mark Spruiell <mes@zeroc.com> | 2005-07-07 21:44:08 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2005-07-07 21:44:08 +0000 |
commit | c26ea793659edcf155ed12325882852cb0056fa3 (patch) | |
tree | dec205087cb3f2ad98f9046f58250570e59f6335 /cpp/src | |
parent | cache Outgoing objects in connection instead of delegate (diff) | |
download | ice-c26ea793659edcf155ed12325882852cb0056fa3.tar.bz2 ice-c26ea793659edcf155ed12325882852cb0056fa3.tar.xz ice-c26ea793659edcf155ed12325882852cb0056fa3.zip |
changes for Outgoing
Diffstat (limited to 'cpp/src')
-rwxr-xr-x | cpp/src/slice2cs/Gen.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/cpp/src/slice2cs/Gen.cpp b/cpp/src/slice2cs/Gen.cpp index 89ec7724928..1d740161bb6 100755 --- a/cpp/src/slice2cs/Gen.cpp +++ b/cpp/src/slice2cs/Gen.cpp @@ -3736,15 +3736,15 @@ Slice::Gen::DelegateMVisitor::visitClassDefStart(const ClassDefPtr& p) _out << sp << nl << "public " << retS << ' ' << opName << spar << params << "Ice.Context __context" << epar; _out << sb; - _out << nl << "IceInternal.Outgoing __outS = getOutgoing(\"" << op->name() << "\", " << sliceModeToIceMode(op) - << ", __context, __compress);"; + _out << nl << "IceInternal.Outgoing __og = getOutgoing(\"" << op->name() << "\", " << sliceModeToIceMode(op) + << ", __context);"; _out << nl << "try"; _out << sb; if(!inParams.empty()) { _out << nl << "try"; _out << sb; - _out << nl << "IceInternal.BasicStream __os = __outS.ostr();"; + _out << nl << "IceInternal.BasicStream __os = __og.ostr();"; for(q = inParams.begin(); q != inParams.end(); ++q) { writeMarshalUnmarshalCode(_out, q->first, fixId(q->second), true, false, false); @@ -3756,14 +3756,14 @@ Slice::Gen::DelegateMVisitor::visitClassDefStart(const ClassDefPtr& p) _out << eb; _out << nl << "catch(Ice.LocalException __ex)"; _out << sb; - _out << nl << "__outS.abort(__ex);"; + _out << nl << "__og.abort(__ex);"; _out << eb; } if(!outParams.empty() || ret || !throws.empty()) { - _out << nl << "IceInternal.BasicStream __is = __outS.istr();"; + _out << nl << "IceInternal.BasicStream __is = __og.istr();"; } - _out << nl << "if(!__outS.invoke())"; + _out << nl << "if(!__og.invoke())"; _out << sb; if(!throws.empty()) { @@ -3865,7 +3865,7 @@ Slice::Gen::DelegateMVisitor::visitClassDefStart(const ClassDefPtr& p) _out << eb; _out << nl << "finally"; _out << sb; - _out << nl << "reclaimOutgoing(__outS);"; + _out << nl << "reclaimOutgoing(__og);"; _out << eb; _out << eb; } |