Mercurial > hg > Members > nobuyasu > tightVNCClient
changeset 86:29e43be288ca
merge
author | Yu Taninari <you@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 06 Sep 2011 06:23:20 +0900 |
parents | ba6e672cc47c (current diff) 7aea720eb485 (diff) |
children | 6c43d40abfe6 |
files | src/myVncClient/EchoClient.java src/myVncClient/MyRfbProto.java |
diffstat | 3 files changed, 8 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/myVncClient/EchoClient.java Tue Sep 06 06:20:47 2011 +0900 +++ b/src/myVncClient/EchoClient.java Tue Sep 06 06:23:20 2011 +0900 @@ -181,7 +181,9 @@ * System.out.println("treenum: " + value.treenum); } */ + if(!(checkRepetition.equals("skip")) || "1".equals(leaderflag)) { + Thread.sleep(1000); client.init(); client.setEchoValue(this); @@ -196,6 +198,7 @@ echoSocket.close(); //runflag = true; } + /* Thread.sleep(1000); if(checkRepetition.equals("skip") &&!(waitReply.passflag)) { @@ -203,6 +206,7 @@ notfoundParent(); }*/ + } catch (UnknownHostException e) { System.err.println("Trying to connect to unknown host: " + e); } catch (IOException e) {
--- a/src/myVncClient/MyRfbProto.java Tue Sep 06 06:20:47 2011 +0900 +++ b/src/myVncClient/MyRfbProto.java Tue Sep 06 06:23:20 2011 +0900 @@ -791,8 +791,8 @@ writerRunning.set(2); os.close(); } catch (IOException e1) { + /* if socket closed cliList.remove(newCli); */ } - /* if socket closed cliList.remove(newCli); */ } }
--- a/src/myVncClient/VncCanvas.java Tue Sep 06 06:20:47 2011 +0900 +++ b/src/myVncClient/VncCanvas.java Tue Sep 06 06:23:20 2011 +0900 @@ -371,10 +371,10 @@ // Start/stop session recording if necessary. viewer.checkRecordingStatus(); - +/* rfb.writeFramebufferUpdateRequest(0, 0, rfb.framebufferWidth, rfb.framebufferHeight, false); - +*/ resetStats(); boolean statsRestarted = false; @@ -538,7 +538,7 @@ // Request framebuffer update if needed. int w = rfb.framebufferWidth; int h = rfb.framebufferHeight; - rfb.writeFramebufferUpdateRequest(0, 0, w, h, !fullUpdateNeeded); + // rfb.writeFramebufferUpdateRequest(0, 0, w, h, !fullUpdateNeeded); break;