comparison src/main/java/jp/ac/u_ryukyu/alicevnc/NegotiateVNCServer.java @ 47:9354e8a1d03b

working AliceVNC
author Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp>
date Mon, 19 Oct 2015 23:48:18 +0900
parents aace9df1462e
children 57ca704f86a3
comparison
equal deleted inserted replaced
46:51e57371c620 47:9354e8a1d03b
12 12
13 public class NegotiateVNCServer extends CodeSegment { 13 public class NegotiateVNCServer extends CodeSegment {
14 private Receiver info = ids.create(CommandType.PEEK); 14 private Receiver info = ids.create(CommandType.PEEK);
15 private Receiver info1 = ids.create(CommandType.PEEK); 15 private Receiver info1 = ids.create(CommandType.PEEK);
16 16
17 public NegotiateVNCServer(){ 17 public NegotiateVNCServer(CodeSegment cs){
18 info.setKey("host"); 18 this.aliceDaemon = cs.aliceDaemon;
19 info1.setKey("AliceVNCConfig"); 19 info.setKey("host", this);
20 info1.setKey("AliceVNCConfig", this);
20 } 21 }
21 22
22 @Override 23 @Override
23 public void run() { 24 public void run() {
24 AliceVNCConfig conf = info1.asClass(AliceVNCConfig.class); 25 AliceVNCConfig conf = info1.asClass(AliceVNCConfig.class);