diff options
author | Bernard Normier <bernard@zeroc.com> | 2019-06-14 12:07:56 -0400 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2019-06-14 12:07:56 -0400 |
commit | 511dc777643c66f9af20ca645a463ddea2ff071a (patch) | |
tree | 81b4364bbee9faa3e95e552c2cd7c700ab0bc708 /cpp/src/slice2swift/Gen.cpp | |
parent | Add doc comments to Input/Output stream extensions for enumerated types (diff) | |
download | ice-511dc777643c66f9af20ca645a463ddea2ff071a.tar.bz2 ice-511dc777643c66f9af20ca645a463ddea2ff071a.tar.xz ice-511dc777643c66f9af20ca645a463ddea2ff071a.zip |
Support for dispatch interceptors
Diffstat (limited to 'cpp/src/slice2swift/Gen.cpp')
-rw-r--r-- | cpp/src/slice2swift/Gen.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/slice2swift/Gen.cpp b/cpp/src/slice2swift/Gen.cpp index b1bc67fa658..4ced089cfe6 100644 --- a/cpp/src/slice2swift/Gen.cpp +++ b/cpp/src/slice2swift/Gen.cpp @@ -1590,7 +1590,7 @@ Gen::ObjectVisitor::visitClassDefStart(const ClassDefPtr& p) out << nl; out << "public func dispatch"; out << spar; - out << ("incoming inS: " + getUnqualified("Ice.Incoming", swiftModule)); + out << ("request: " + getUnqualified("Ice.Request", swiftModule)); out << ("current: " + getUnqualified("Ice.Current", swiftModule)); out << epar; out << " throws"; @@ -1607,11 +1607,11 @@ Gen::ObjectVisitor::visitClassDefStart(const ClassDefPtr& p) if(opName == "ice_id" || opName == "ice_ids" || opName == "ice_isA" || opName == "ice_ping") { out << nl << "try (servant as? Object ?? " << disp << ".defaultObject)._iceD_" - << opName << "(incoming: inS, current: current)"; + << opName << "(incoming: request, current: current)"; } else { - out << nl << "try servant._iceD_" << opName << "(incoming: inS, current: current)"; + out << nl << "try servant._iceD_" << opName << "(incoming: request, current: current)"; } out.dec(); } |