diff options
author | Benoit Foucher <benoit@zeroc.com> | 2009-12-02 20:58:58 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2009-12-02 20:58:58 +0100 |
commit | 7da7bd6dfa7cf1d89afaab1e3e293891d881136b (patch) | |
tree | 4fa39d4784e31f440c147182c798ccda7534ae3a /java/test/Ice/operations/OnewaysNewAMI.java | |
parent | Make loading of IceSSL when using unique names easier (diff) | |
download | ice-7da7bd6dfa7cf1d89afaab1e3e293891d881136b.tar.bz2 ice-7da7bd6dfa7cf1d89afaab1e3e293891d881136b.tar.xz ice-7da7bd6dfa7cf1d89afaab1e3e293891d881136b.zip |
More AMI mapping improvements
Diffstat (limited to 'java/test/Ice/operations/OnewaysNewAMI.java')
-rw-r--r-- | java/test/Ice/operations/OnewaysNewAMI.java | 50 |
1 files changed, 44 insertions, 6 deletions
diff --git a/java/test/Ice/operations/OnewaysNewAMI.java b/java/test/Ice/operations/OnewaysNewAMI.java index b11ce8e3b37..15670f50138 100644 --- a/java/test/Ice/operations/OnewaysNewAMI.java +++ b/java/test/Ice/operations/OnewaysNewAMI.java @@ -13,6 +13,8 @@ import test.Ice.operations.Test.Callback_MyClass_opVoid; import test.Ice.operations.Test.MyClass; import test.Ice.operations.Test.MyClassPrx; import test.Ice.operations.Test.MyClassPrxHelper; +import test.Ice.operations.Test.Callback_MyClass_opVoid; +import test.Ice.operations.Test.Callback_MyClass_opByte; class OnewaysNewAMI { @@ -100,9 +102,15 @@ class OnewaysNewAMI { final Callback cb = new Callback(); - Ice.ExceptionCallback callback = new Ice.ExceptionCallback() + Ice.Callback_Object_ice_ping callback = new Ice.Callback_Object_ice_ping() { public void + response() + { + test(false); + } + + public void exception(Ice.LocalException ex) { cb.noException(ex); @@ -120,8 +128,14 @@ class OnewaysNewAMI { final Callback cb = new Callback(); - Ice.ExceptionCallback callback = new Ice.ExceptionCallback() + Ice.Callback_Object_ice_isA callback = new Ice.Callback_Object_ice_isA() { + public void + response(boolean isA) + { + test(false); + } + public void exception(Ice.LocalException ex) { @@ -134,8 +148,14 @@ class OnewaysNewAMI { final Callback cb = new Callback(); - Ice.ExceptionCallback callback = new Ice.ExceptionCallback() + Ice.Callback_Object_ice_id callback = new Ice.Callback_Object_ice_id() { + public void + response(String id) + { + test(false); + } + public void exception(Ice.LocalException ex) { @@ -148,8 +168,14 @@ class OnewaysNewAMI { final Callback cb = new Callback(); - Ice.ExceptionCallback callback = new Ice.ExceptionCallback() + Ice.Callback_Object_ice_ids callback = new Ice.Callback_Object_ice_ids() { + public void + response(String[] ids) + { + test(false); + } + public void exception(Ice.LocalException ex) { @@ -162,9 +188,15 @@ class OnewaysNewAMI { final Callback cb = new Callback(); - Ice.ExceptionCallback callback = new Ice.ExceptionCallback() + Callback_MyClass_opVoid callback = new Callback_MyClass_opVoid() { public void + response() + { + test(false); + } + + public void exception(Ice.LocalException ex) { cb.noException(ex); @@ -185,8 +217,14 @@ class OnewaysNewAMI // { final Callback cb = new Callback(); - Ice.ExceptionCallback callback = new Ice.ExceptionCallback() + Callback_MyClass_opByte callback = new Callback_MyClass_opByte() { + public void + response(byte r, byte o) + { + test(false); + } + public void exception(Ice.LocalException ex) { |