Mercurial > hg > Members > nobuyasu > tightVNCProxy
comparison src/myVncProxy/AcceptClient.java @ 172:54ad8e0654b5
remove error
author | Yu Taninari <you@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 21 Oct 2011 17:06:23 +0900 |
parents | ffc16faf011a |
children | eea9a1726edf |
comparison
equal
deleted
inserted
replaced
171:ffc16faf011a | 172:54ad8e0654b5 |
---|---|
70 void listupdate(String port) { | 70 void listupdate(String port) { |
71 ls.remove(Integer.parseInt(port)); | 71 ls.remove(Integer.parseInt(port)); |
72 ls.add(Integer.parseInt(port), ls.getLast()); | 72 ls.add(Integer.parseInt(port), ls.getLast()); |
73 ls.removeLast(); | 73 ls.removeLast(); |
74 } | 74 } |
75 | |
76 void listupdate(String port,String myaddr) { | |
77 ls.remove(Integer.parseInt(port)); | |
78 ls.add(Integer.parseInt(port), myaddr); | |
79 ls.removeLast(); | |
80 } | |
75 | 81 |
76 void outputStream(PrintStream os, String request, String parentnum, | 82 void outputStream(PrintStream os, String request, String parentnum, |
77 String treenum, String leaderflag) { | 83 String treenum, String leaderflag) { |
78 os.println(request); | 84 os.println(request); |
79 os.println(parentnum); | 85 os.println(parentnum); |