Mercurial > hg > Applications > AliceVNC
comparison src/main/java/jp/ac/u_ryukyu/alicevnc/AliceVNC.java @ 15:87d90513e8f5
add ServerChange Message
author | YU |
---|---|
date | Sat, 18 Oct 2014 22:05:42 +0900 |
parents | 4faa4619a02f |
children | 15398aebb0ef |
comparison
equal
deleted
inserted
replaced
14:b175d5306b11 | 15:87d90513e8f5 |
---|---|
12 | 12 |
13 public void run() { | 13 public void run() { |
14 | 14 |
15 if (conf.getProxyFlag()){ | 15 if (conf.getProxyFlag()){ |
16 | 16 |
17 ods.put("VNCServer", true); | |
17 new StartVNCServer(); | 18 new StartVNCServer(); |
18 new ReceiveServerInitMessage(); | 19 new ReceiveServerInitMessage(); |
20 | |
19 } | 21 } |
20 if (conf.getViewerFlag()){ | 22 if (conf.getViewerFlag()){ |
21 new ReceiveServerInitMessage("parent"); | 23 new ReceiveServerInitMessage("parent"); |
22 } | 24 } |
25 | |
26 new RequestStartVNCServer(); | |
23 } | 27 } |
24 | 28 |
25 } | 29 } |