diff options
author | Michi Henning <michi@zeroc.com> | 2004-12-07 03:53:54 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2004-12-07 03:53:54 +0000 |
commit | 517d158d746bfa6f5722d9ecd0264137269bfa79 (patch) | |
tree | 4a4e3dbb6ee6c1493e332ff14ffe09117f740425 /java/test/Ice/operationsAMD/TestCheckedCastI.java | |
parent | minor fixes (diff) | |
download | ice-517d158d746bfa6f5722d9ecd0264137269bfa79.tar.bz2 ice-517d158d746bfa6f5722d9ecd0264137269bfa79.tar.xz ice-517d158d746bfa6f5722d9ecd0264137269bfa79.zip |
Added context parameter to checkedCast().
Diffstat (limited to 'java/test/Ice/operationsAMD/TestCheckedCastI.java')
-rw-r--r-- | java/test/Ice/operationsAMD/TestCheckedCastI.java | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/java/test/Ice/operationsAMD/TestCheckedCastI.java b/java/test/Ice/operationsAMD/TestCheckedCastI.java new file mode 100644 index 00000000000..a92cdef0f96 --- /dev/null +++ b/java/test/Ice/operationsAMD/TestCheckedCastI.java @@ -0,0 +1,25 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2004 ZeroC, Inc. All rights reserved. +// +// This copy of Ice is licensed to you under the terms described in the +// ICE_LICENSE file included in this distribution. +// +// ********************************************************************** + +public final class TestCheckedCastI extends Test._TestCheckedCastDisp +{ + public void + getContext_async(Test.AMD_TestCheckedCast_getContext cb, Ice.Current current) + { + cb.ice_response(_ctx); + } + + public void + setContext(java.util.Map ctx) + { + _ctx = ctx; + } + + private java.util.Map _ctx; +} |