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/Ice/invoke | |
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/Ice/invoke')
-rw-r--r-- | java/demo/Ice/invoke/Client.java | 4 | ||||
-rw-r--r-- | java/demo/Ice/invoke/PrinterI.java | 1 | ||||
-rw-r--r-- | java/demo/Ice/invoke/Server.java | 3 |
3 files changed, 6 insertions, 2 deletions
diff --git a/java/demo/Ice/invoke/Client.java b/java/demo/Ice/invoke/Client.java index 2554415b001..19dbea5efbb 100644 --- a/java/demo/Ice/invoke/Client.java +++ b/java/demo/Ice/invoke/Client.java @@ -7,7 +7,7 @@ // // ********************************************************************** -import Demo.*; + public class Client extends Ice.Application { @@ -32,6 +32,7 @@ public class Client extends Ice.Application class ShutdownHook extends Thread { + @Override public void run() { @@ -46,6 +47,7 @@ public class Client extends Ice.Application } } + @Override public int run(String[] args) { diff --git a/java/demo/Ice/invoke/PrinterI.java b/java/demo/Ice/invoke/PrinterI.java index 8e8c455a865..ec6308dd9a6 100644 --- a/java/demo/Ice/invoke/PrinterI.java +++ b/java/demo/Ice/invoke/PrinterI.java @@ -9,6 +9,7 @@ public class PrinterI extends Ice.Blobject { + @Override public boolean ice_invoke(byte[] inParams, Ice.ByteSeqHolder outParams, Ice.Current current) { diff --git a/java/demo/Ice/invoke/Server.java b/java/demo/Ice/invoke/Server.java index e02185c1a4c..b216d93bf74 100644 --- a/java/demo/Ice/invoke/Server.java +++ b/java/demo/Ice/invoke/Server.java @@ -7,10 +7,11 @@ // // ********************************************************************** -import Demo.*; + public class Server extends Ice.Application { + @Override public int run(String[] args) { |