diff options
author | Jose <jose@zeroc.com> | 2019-06-07 11:33:31 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2019-06-07 11:33:31 +0200 |
commit | 7d9486b9113d5bbb533ced14d4e145faf97dcda2 (patch) | |
tree | 6c7899e633ddf97c03df49156b1483b23010da3b /cpp/test/Ice/operations/TestAMDI.cpp | |
parent | Fix code format fixes (diff) | |
parent | JavaScript browser testing fixes (diff) | |
download | ice-7d9486b9113d5bbb533ced14d4e145faf97dcda2.tar.bz2 ice-7d9486b9113d5bbb533ced14d4e145faf97dcda2.tar.xz ice-7d9486b9113d5bbb533ced14d4e145faf97dcda2.zip |
Merge remote-tracking branch 'origin/3.7' into swift
Diffstat (limited to 'cpp/test/Ice/operations/TestAMDI.cpp')
-rw-r--r-- | cpp/test/Ice/operations/TestAMDI.cpp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/cpp/test/Ice/operations/TestAMDI.cpp b/cpp/test/Ice/operations/TestAMDI.cpp index cea51a31519..3db268fc2c8 100644 --- a/cpp/test/Ice/operations/TestAMDI.cpp +++ b/cpp/test/Ice/operations/TestAMDI.cpp @@ -1040,6 +1040,22 @@ MyDerivedClassI::opMDict2Async(Test::StringStringD p1, response(OpMDict2MarshaledResult(p1, p1, current)); } +void +BI::opIntfAsync(function<void()> response, + function<void(std::exception_ptr)>, + const Ice::Current&) +{ + response(); +} + +void +BI::opBAsync(function<void()> response, + function<void(std::exception_ptr)>, + const Ice::Current&) +{ + response(); +} + #else class Thread_opVoid : public IceUtil::Thread @@ -1913,4 +1929,17 @@ MyDerivedClassI::opMDict2_async(const Test::AMD_MyClass_opMDict2Ptr& cb, cb->ice_response(p1,p1); } +void +BI::opIntf_async(const ::M::AMD_Intf_opIntfPtr& cb, + const ::Ice::Current&) +{ + cb->ice_response(); +} + +void +BI::opB_async(const ::M::AMD_B_opBPtr& cb, + const ::Ice::Current&) +{ + cb->ice_response(); +} #endif |