diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2009-12-03 18:33:41 -0330 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2009-12-03 18:33:41 -0330 |
commit | 6d2d2d4b9aa9b7cf30c3e34212f444619705ac19 (patch) | |
tree | 79b23f48ebcac576f3508c578c4a1ebacc3b4c65 /cpp/test/Ice/invoke/BlobjectI.cpp | |
parent | AMI requests now throw IllegalArgumentExcption instaed of TwowayOnlyException (diff) | |
download | ice-6d2d2d4b9aa9b7cf30c3e34212f444619705ac19.tar.bz2 ice-6d2d2d4b9aa9b7cf30c3e34212f444619705ac19.tar.xz ice-6d2d2d4b9aa9b7cf30c3e34212f444619705ac19.zip |
Added oneway test to invoke`
Diffstat (limited to 'cpp/test/Ice/invoke/BlobjectI.cpp')
-rw-r--r-- | cpp/test/Ice/invoke/BlobjectI.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cpp/test/Ice/invoke/BlobjectI.cpp b/cpp/test/Ice/invoke/BlobjectI.cpp index c2634321c51..e1dcc514cca 100644 --- a/cpp/test/Ice/invoke/BlobjectI.cpp +++ b/cpp/test/Ice/invoke/BlobjectI.cpp @@ -19,7 +19,11 @@ invokeInternal(const Ice::InputStreamPtr& in, vector<Ice::Byte>& outParams, cons { Ice::CommunicatorPtr communicator = current.adapter->getCommunicator(); Ice::OutputStreamPtr out = Ice::createOutputStream(communicator); - if(current.operation == "opString") + if(current.operation == "opOneway") + { + return true; + } + else if(current.operation == "opString") { string s; in->read(s); |