Mercurial > hg > trac > TreeVNC > TreeVNC
comparison src/main/java/jp/ac/u_ryukyu/treevnc/server/state/ChangeHost.java @ 94:75879c316796
synchronized wait for Rfb initialization in change server.
author | oc |
---|---|
date | Mon, 19 May 2014 19:57:32 +0900 |
parents | 7b8d3411270a |
children |
comparison
equal
deleted
inserted
replaced
93:7b8d3411270a | 94:75879c316796 |
---|---|
2 | 2 |
3 import java.io.BufferedReader; | 3 import java.io.BufferedReader; |
4 import java.io.IOException; | 4 import java.io.IOException; |
5 import java.io.InputStreamReader; | 5 import java.io.InputStreamReader; |
6 import java.net.UnknownHostException; | 6 import java.net.UnknownHostException; |
7 | |
7 import jp.ac.u_ryukyu.treevnc.server.VncProxyService; | 8 import jp.ac.u_ryukyu.treevnc.server.VncProxyService; |
8 | 9 |
9 public class ChangeHost implements Runnable { | 10 public class ChangeHost implements Runnable { |
10 | 11 |
11 private VncProxyService vps; | 12 private VncProxyService vps; |
43 // param hostAddress,width,height | 44 // param hostAddress,width,height |
44 vps.changeVNCServer(str,1000,1000); | 45 vps.changeVNCServer(str,1000,1000); |
45 } | 46 } |
46 } catch (IOException e) { | 47 } catch (IOException e) { |
47 e.printStackTrace(); | 48 e.printStackTrace(); |
49 } catch (InterruptedException e) { | |
50 // TODO Auto-generated catch block | |
51 e.printStackTrace(); | |
48 } | 52 } |
49 } | 53 } |
50 } | 54 } |