diff options
author | Benoit Foucher <benoit@zeroc.com> | 2009-11-25 15:05:41 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2009-11-25 15:05:41 +0100 |
commit | 2fca2c1309c4991b21ff956709068122f19eef4a (patch) | |
tree | b90e6fe1450508f5ce2962e21627a4535414e1a6 /cpp/src/slice2java/Gen.cpp | |
parent | Update depends for SQL directories (diff) | |
download | ice-2fca2c1309c4991b21ff956709068122f19eef4a.tar.bz2 ice-2fca2c1309c4991b21ff956709068122f19eef4a.tar.xz ice-2fca2c1309c4991b21ff956709068122f19eef4a.zip |
- Cleaned up test/Ice/operations test
- Added test/Ice/ami test
- sent callback is now always called
Diffstat (limited to 'cpp/src/slice2java/Gen.cpp')
-rw-r--r-- | cpp/src/slice2java/Gen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/slice2java/Gen.cpp b/cpp/src/slice2java/Gen.cpp index 1c5aff7ea84..c5408af7582 100644 --- a/cpp/src/slice2java/Gen.cpp +++ b/cpp/src/slice2java/Gen.cpp @@ -5750,9 +5750,9 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p) out << sb; out << nl << "ice_exception(__ex);"; out << eb; - out << sp << nl << "public final void sent()"; + out << sp << nl << "@Override public final void sent(boolean sentSynchronously)"; out << sb; - out << nl << "if(this instanceof Ice.AMISentCallback)"; + out << nl << "if(!sentSynchronously && this instanceof Ice.AMISentCallback)"; out << sb; out << nl << "((Ice.AMISentCallback)this).ice_sent();"; out << eb; |