diff options
author | Benoit Foucher <benoit@zeroc.com> | 2016-08-25 11:28:20 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2016-08-25 11:28:20 +0200 |
commit | 4fa256d3d27adffcc6529136cad904f0fbd490b0 (patch) | |
tree | 7250a0b630cfc8400745be4bdf7dde6891943b8c /cpp/test/Ice/interceptor/InterceptorI.cpp | |
parent | removing JavaCompat.ice (diff) | |
download | ice-4fa256d3d27adffcc6529136cad904f0fbd490b0.tar.bz2 ice-4fa256d3d27adffcc6529136cad904f0fbd490b0.tar.xz ice-4fa256d3d27adffcc6529136cad904f0fbd490b0.zip |
C++ dispatching code fixes
- removed user exception check on the server side (ICE-6980)
- C++11 dipatch interceptor async callback (ICE-7263)
- Fixed slicing/objects test in various mapping (removed Forward.ice)
Diffstat (limited to 'cpp/test/Ice/interceptor/InterceptorI.cpp')
-rw-r--r-- | cpp/test/Ice/interceptor/InterceptorI.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/test/Ice/interceptor/InterceptorI.cpp b/cpp/test/Ice/interceptor/InterceptorI.cpp index 571dd555f64..601920483ab 100644 --- a/cpp/test/Ice/interceptor/InterceptorI.cpp +++ b/cpp/test/Ice/interceptor/InterceptorI.cpp @@ -15,12 +15,12 @@ using namespace std; InterceptorI::InterceptorI(const Ice::ObjectPtr& servant) : _servant(servant), - _lastStatus(Ice::DispatchAsync) + _lastStatus(false) { } -Ice::DispatchStatus +bool InterceptorI::dispatch(Ice::Request& request) { Ice::Current& current = const_cast<Ice::Current&>(request.getCurrent()); @@ -49,7 +49,7 @@ InterceptorI::dispatch(Ice::Request& request) return _lastStatus; } -Ice::DispatchStatus +bool InterceptorI::getLastStatus() const { return _lastStatus; @@ -64,6 +64,6 @@ InterceptorI::getLastOperation() const void InterceptorI::clear() { - _lastStatus = Ice::DispatchAsync; + _lastStatus = false; _lastOperation = ""; } |