summaryrefslogtreecommitdiff
path: root/java/test/Ice/metrics/AMDMetricsI.java
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2014-08-12 15:50:25 -0230
committerMatthew Newhook <matthew@zeroc.com>2014-08-12 15:50:25 -0230
commit2f5c841cfce2ae5ff26e2e373c3ea7188da8b75b (patch)
treeb460e22e91a9fbb9cfb71631303963fa94dd2c9c /java/test/Ice/metrics/AMDMetricsI.java
parentICE-5492 Tcp Loopback Fast Path for C#/C++ on Windows (diff)
downloadice-2f5c841cfce2ae5ff26e2e373c3ea7188da8b75b.tar.bz2
ice-2f5c841cfce2ae5ff26e2e373c3ea7188da8b75b.tar.xz
ice-2f5c841cfce2ae5ff26e2e373c3ea7188da8b75b.zip
Added eclipse project settings for java.
Fix lots of warnings in Ice for Java.
Diffstat (limited to 'java/test/Ice/metrics/AMDMetricsI.java')
-rw-r--r--java/test/Ice/metrics/AMDMetricsI.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/java/test/Ice/metrics/AMDMetricsI.java b/java/test/Ice/metrics/AMDMetricsI.java
index 6c45a12ed52..e557e728a4e 100644
--- a/java/test/Ice/metrics/AMDMetricsI.java
+++ b/java/test/Ice/metrics/AMDMetricsI.java
@@ -17,12 +17,14 @@ public final class AMDMetricsI extends _MetricsDisp
{
}
+ @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)
{
@@ -30,6 +32,7 @@ public final class AMDMetricsI extends _MetricsDisp
cb.ice_response();
}
+ @Override
public void
opWithUserException_async(AMD_Metrics_opWithUserException cb, Ice.Current current)
throws UserEx
@@ -37,36 +40,42 @@ public final class AMDMetricsI extends _MetricsDisp
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)
{