changeset 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
files src/myVncProxy/AcceptClient.java
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/myVncProxy/AcceptClient.java	Fri Oct 21 17:02:00 2011 +0900
+++ b/src/myVncProxy/AcceptClient.java	Fri Oct 21 17:06:23 2011 +0900
@@ -72,6 +72,12 @@
 		ls.add(Integer.parseInt(port), ls.getLast());
 		ls.removeLast();
 	}
+	
+	void listupdate(String port,String myaddr) {
+		ls.remove(Integer.parseInt(port));
+		ls.add(Integer.parseInt(port), myaddr);
+		ls.removeLast();
+	}
 
 	void outputStream(PrintStream os, String request, String parentnum,
 			String treenum, String leaderflag) {