diff options
author | Matthew Newhook <matthew@zeroc.com> | 2014-08-14 10:37:16 -0230 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2014-08-14 10:37:16 -0230 |
commit | 13c8da45cf4c892a17bda4f224a832bafd8e1bf4 (patch) | |
tree | d251dc62af721096338ac5be0ecbeaa825ce0e9e /java/demo/IceGrid/simple | |
parent | More fixes to the interrupt test. (diff) | |
download | ice-13c8da45cf4c892a17bda4f224a832bafd8e1bf4.tar.bz2 ice-13c8da45cf4c892a17bda4f224a832bafd8e1bf4.tar.xz ice-13c8da45cf4c892a17bda4f224a832bafd8e1bf4.zip |
- Cleaned up all demos.
- Fixed all demo warnings.
- Fixed applet and swing demo to use invocation timeout, not connect
timeouts.
Diffstat (limited to 'java/demo/IceGrid/simple')
-rw-r--r-- | java/demo/IceGrid/simple/Client.java | 2 | ||||
-rw-r--r-- | java/demo/IceGrid/simple/HelloI.java | 2 | ||||
-rw-r--r-- | java/demo/IceGrid/simple/Server.java | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/java/demo/IceGrid/simple/Client.java b/java/demo/IceGrid/simple/Client.java index 26764921a85..81543af91e7 100644 --- a/java/demo/IceGrid/simple/Client.java +++ b/java/demo/IceGrid/simple/Client.java @@ -13,6 +13,7 @@ public class Client extends Ice.Application { class ShutdownHook extends Thread { + @Override public void run() { @@ -38,6 +39,7 @@ public class Client extends Ice.Application "?: help\n"); } + @Override public int run(String[] args) { diff --git a/java/demo/IceGrid/simple/HelloI.java b/java/demo/IceGrid/simple/HelloI.java index a3229d06d64..89b168d8676 100644 --- a/java/demo/IceGrid/simple/HelloI.java +++ b/java/demo/IceGrid/simple/HelloI.java @@ -16,12 +16,14 @@ public class HelloI extends _HelloDisp _name = name; } + @Override public void sayHello(Ice.Current current) { System.out.println(_name + " says Hello World!"); } + @Override public void shutdown(Ice.Current current) { diff --git a/java/demo/IceGrid/simple/Server.java b/java/demo/IceGrid/simple/Server.java index 2fccc0aac4e..a6192538037 100644 --- a/java/demo/IceGrid/simple/Server.java +++ b/java/demo/IceGrid/simple/Server.java @@ -9,6 +9,7 @@ public class Server extends Ice.Application { + @Override public int run(String[] args) { |