diff 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
line wrap: on
line diff
--- a/src/main/java/jp/ac/u_ryukyu/alicevnc/NegotiateVNCServer.java	Tue Sep 29 14:02:27 2015 +0900
+++ b/src/main/java/jp/ac/u_ryukyu/alicevnc/NegotiateVNCServer.java	Mon Oct 19 23:48:18 2015 +0900
@@ -14,9 +14,10 @@
     private Receiver info = ids.create(CommandType.PEEK);
     private Receiver info1 = ids.create(CommandType.PEEK);
 
-    public NegotiateVNCServer(){
-        info.setKey("host");
-        info1.setKey("AliceVNCConfig");
+    public NegotiateVNCServer(CodeSegment cs){
+        this.aliceDaemon = cs.aliceDaemon;
+        info.setKey("host", this);
+        info1.setKey("AliceVNCConfig", this);
     }
 
     @Override