diff options
author | Matthew Newhook <matthew@zeroc.com> | 2014-10-23 16:28:09 -0230 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2014-10-23 16:28:09 -0230 |
commit | f6bb0396e7d8fd12ed50f72ab9fc99436d418576 (patch) | |
tree | ee6ef1cb32f2523839f210eb9ec3b924b97d5998 /java/test/Ice/metrics/AMDMetricsI.java | |
parent | Add Object.equals, and minor fix to HashMap.equals (diff) | |
download | ice-f6bb0396e7d8fd12ed50f72ab9fc99436d418576.tar.bz2 ice-f6bb0396e7d8fd12ed50f72ab9fc99436d418576.tar.xz ice-f6bb0396e7d8fd12ed50f72ab9fc99436d418576.zip |
More gradle changes.
Moved android stuff to its own package.
Moved java tests to src/main/java/test subdirectory.
Diffstat (limited to 'java/test/Ice/metrics/AMDMetricsI.java')
-rw-r--r-- | java/test/Ice/metrics/AMDMetricsI.java | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/java/test/Ice/metrics/AMDMetricsI.java b/java/test/Ice/metrics/AMDMetricsI.java deleted file mode 100644 index e557e728a4e..00000000000 --- a/java/test/Ice/metrics/AMDMetricsI.java +++ /dev/null @@ -1,84 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2014 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. -// -// ********************************************************************** - -package test.Ice.metrics; -import test.Ice.metrics.AMD.Test.*; - -public final class AMDMetricsI extends _MetricsDisp -{ - public - AMDMetricsI() - { - } - - @Override - public void - op_async(AMD_Metrics_op cb, Ice.Current current) - { - cb.ice_response(); - } - - @Override - public void - fail_async(AMD_Metrics_fail cb, Ice.Current current) - { - current.con.close(true); - cb.ice_response(); - } - - @Override - public void - opWithUserException_async(AMD_Metrics_opWithUserException cb, Ice.Current current) - throws UserEx - { - cb.ice_exception(new UserEx()); - } - - @Override - public void - opWithRequestFailedException_async(AMD_Metrics_opWithRequestFailedException cb, Ice.Current current) - { - cb.ice_exception(new Ice.ObjectNotExistException()); - } - - @Override - public void - opWithLocalException_async(AMD_Metrics_opWithLocalException cb, Ice.Current current) - { - cb.ice_exception(new Ice.SyscallException()); - } - - @Override - public void - opWithUnknownException_async(AMD_Metrics_opWithUnknownException cb, Ice.Current current) - { - cb.ice_exception(new IllegalArgumentException()); - } - - @Override - public void - opByteS_async(AMD_Metrics_opByteS cb, byte[] bs, Ice.Current current) - { - cb.ice_response(); - } - - @Override - public Ice.ObjectPrx - getAdmin(Ice.Current current) - { - return current.adapter.getCommunicator().getAdmin(); - } - - @Override - public void - shutdown(Ice.Current current) - { - current.adapter.getCommunicator().shutdown(); - } -} |