diff src/main/java/jp/ac/u_ryukyu/alicevnc/AliceVNC.java @ 47:9354e8a1d03b

working AliceVNC
author Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp>
date Mon, 19 Oct 2015 23:48:18 +0900
parents 47d6f7a76b86
children 57ca704f86a3
line wrap: on
line diff
--- a/src/main/java/jp/ac/u_ryukyu/alicevnc/AliceVNC.java	Tue Sep 29 14:02:27 2015 +0900
+++ b/src/main/java/jp/ac/u_ryukyu/alicevnc/AliceVNC.java	Mon Oct 19 23:48:18 2015 +0900
@@ -1,6 +1,7 @@
 package jp.ac.u_ryukyu.alicevnc;
 
 import alice.codesegment.CodeSegment;
+import alice.daemon.AliceDaemon;
 
 public class AliceVNC extends CodeSegment {
 
@@ -11,9 +12,10 @@
     }
 
     public void run() {
+        System.out.println();
         ods.put("AliceVNCConfig", conf);
-        new ReceiveMeasurement();
-        new CheckMyName();
+        new ReceiveMeasurement(new AliceDaemon(conf));
+        new CheckMyName(this);
 
     }