view 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 source

package jp.ac.u_ryukyu.alicevnc;

import alice.codesegment.CodeSegment;
import alice.daemon.AliceDaemon;

public class AliceVNC extends CodeSegment {

    private AliceVNCConfig conf;

    public AliceVNC(AliceVNCConfig conf) {
        this.conf = conf;
    }

    public void run() {
        System.out.println();
        ods.put("AliceVNCConfig", conf);
        new ReceiveMeasurement(new AliceDaemon(conf));
        new CheckMyName(this);

    }

}