Mercurial > hg > Members > nobuyasu > tightVNCClient
diff src/myVncClient/WaitReply.java @ 100:961a5915834f
merge
author | Yu Taninari <you@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 24 Oct 2011 23:31:34 +0900 |
parents | ba6e672cc47c |
children | 2f2f8da71d60 |
line wrap: on
line diff
--- a/src/myVncClient/WaitReply.java Wed Oct 12 02:15:44 2011 +0900 +++ b/src/myVncClient/WaitReply.java Mon Oct 24 23:31:34 2011 +0900 @@ -19,7 +19,11 @@ this.client = client; this.treenum = treenum; } - + + public boolean checkPath() { + return passflag; + } + public void run() { Socket clientSocket = null; ServerSocket echoServer = null; @@ -35,10 +39,10 @@ clientSocket = echoServer.accept(); if (clientSocket != null) { client.close(); + passflag = true; // client.clientSocket = clientSocket; client.setClientSocket(clientSocket); client.init(); - passflag = true; client.setEchoValue(null); client.getParentName(); client.start_threads(); @@ -57,4 +61,4 @@ */ } } -} +} \ No newline at end of file