diff options
author | Benoit Foucher <benoit@zeroc.com> | 2009-12-03 09:25:15 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2009-12-03 09:25:15 +0100 |
commit | 2774ed67d93daefcad79959dab04144b63dfb707 (patch) | |
tree | 568a29ce6987c0eba1d0a60424dd6b4aea0e306a /cpp/test/Ice/operations/OnewaysNewAMI.cpp | |
parent | More AMI mapping improvements (diff) | |
download | ice-2774ed67d93daefcad79959dab04144b63dfb707.tar.bz2 ice-2774ed67d93daefcad79959dab04144b63dfb707.tar.xz ice-2774ed67d93daefcad79959dab04144b63dfb707.zip |
Changed back isSentSynchronously to sentSynchronously, only generate newCallback exception for oneway requests
Diffstat (limited to 'cpp/test/Ice/operations/OnewaysNewAMI.cpp')
-rw-r--r-- | cpp/test/Ice/operations/OnewaysNewAMI.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cpp/test/Ice/operations/OnewaysNewAMI.cpp b/cpp/test/Ice/operations/OnewaysNewAMI.cpp index 9f62376107f..21694cb3df9 100644 --- a/cpp/test/Ice/operations/OnewaysNewAMI.cpp +++ b/cpp/test/Ice/operations/OnewaysNewAMI.cpp @@ -65,6 +65,10 @@ public: { } + void opByte(Ice::Byte b, Ice::Byte b1) + { + } + void sent(bool) { called(); @@ -145,7 +149,7 @@ onewaysNewAMI(const Ice::CommunicatorPtr& communicator, const Test::MyClassPrx& { CallbackPtr cb = new Callback; Test::Callback_MyClass_opBytePtr callback = - Test::newCallback_MyClass_opByte(cb, &Callback::twowayOnlyException); + Test::newCallback_MyClass_opByte(cb, &Callback::opByte, &Callback::twowayOnlyException); p->begin_opByte(Ice::Byte(0xff), Ice::Byte(0x0f), callback); cb->check(); } |