diff options
author | jestin | 2012-05-13 08:54:38 +0000 |
---|---|---|
committer | jestin | 2012-05-13 08:54:38 +0000 |
commit | e854a58a81ec90e419a4b3effa5a83caac05df90 (patch) | |
tree | 16eb84a66b62ff38e744c8cd474df81561436b9f /src/ProxyClient.java | |
parent | 4ffe8b84071babe544086f94c66431380d301d59 (diff) | |
download | ivy-java-e854a58a81ec90e419a4b3effa5a83caac05df90.zip ivy-java-e854a58a81ec90e419a4b3effa5a83caac05df90.tar.gz ivy-java-e854a58a81ec90e419a4b3effa5a83caac05df90.tar.bz2 ivy-java-e854a58a81ec90e419a4b3effa5a83caac05df90.tar.xz |
Modified the tests to remove bus.getDomain(null)
make Waiter and WaiterClient sons of WaitFor
Added a few tests into svn
Diffstat (limited to 'src/ProxyClient.java')
-rw-r--r-- | src/ProxyClient.java | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/ProxyClient.java b/src/ProxyClient.java index 1fd7b75..92f2c75 100644 --- a/src/ProxyClient.java +++ b/src/ProxyClient.java @@ -21,7 +21,9 @@ package fr.dgac.ivy ; import java.io.*; import java.net.*; -import java.util.* ; +import java.util.HashMap ; +import java.util.Map ; +import java.util.Properties ; import gnu.getopt.Getopt; import java.util.regex.*; @@ -32,9 +34,9 @@ class ProxyClient extends Ivy { private BufferedReader in; private static boolean debug = (System.getProperty("IVY_DEBUG")!=null) ; private volatile Thread clientThread; // volatile to ensure the quick communication - private Hashtable<String,String> id=new Hashtable<String,String>(); - private Hashtable<String,Ghost>ghosts = new Hashtable<String,Ghost>(); - private Hashtable<String,Puppet> puppets =new Hashtable<String,Puppet>(); // key=id value=Puppet + private Map<String,String> id=new HashMap<String,String>(); + private Map<String,Ghost>ghosts = new HashMap<String,Ghost>(); + private Map<String,Puppet> puppets =new HashMap<String,Puppet>(); // key=id value=Puppet String domain=null; public static final int DEFAULT_SERVICE_PORT = 3456 ; @@ -48,7 +50,7 @@ class ProxyClient extends Ivy { int c; int servicePort = DEFAULT_SERVICE_PORT; boolean quiet = false; - String domain=Ivy.getDomain(null); + String domain=null; while ((c = opt.getopt()) != -1) switch (c) { case 'n': name=opt.getOptarg(); |