diff options
author | Matthew Newhook <matthew@zeroc.com> | 2014-08-12 15:50:25 -0230 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2014-08-12 15:50:25 -0230 |
commit | 2f5c841cfce2ae5ff26e2e373c3ea7188da8b75b (patch) | |
tree | b460e22e91a9fbb9cfb71631303963fa94dd2c9c /java/test/Ice/timeout/TimeoutI.java | |
parent | ICE-5492 Tcp Loopback Fast Path for C#/C++ on Windows (diff) | |
download | ice-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/timeout/TimeoutI.java')
-rw-r--r-- | java/test/Ice/timeout/TimeoutI.java | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/java/test/Ice/timeout/TimeoutI.java b/java/test/Ice/timeout/TimeoutI.java index d6b1b496b44..61b8f7702c2 100644 --- a/java/test/Ice/timeout/TimeoutI.java +++ b/java/test/Ice/timeout/TimeoutI.java @@ -21,6 +21,7 @@ class TimeoutI extends _TimeoutDisp _timeout = timeout; } + @Override public void run() { @@ -39,28 +40,33 @@ class TimeoutI extends _TimeoutDisp int _timeout; } + @Override public void op(Ice.Current current) { } + @Override public void sendData(byte[] seq, Ice.Current current) { } + @Override public void sleep(int to, Ice.Current current) { try { - Thread.currentThread().sleep(to); + Thread.currentThread(); + Thread.sleep(to); } catch(InterruptedException ex) { } } + @Override public void holdAdapter(int to, Ice.Current current) { @@ -69,6 +75,7 @@ class TimeoutI extends _TimeoutDisp thread.start(); } + @Override public void shutdown(Ice.Current current) { |