view src/main/java/alice/topology/node/TopologyNode.java @ 518:fc313323c53b dispose

add reconnect event
author sugi
date Thu, 22 Jan 2015 16:01:32 +0900
parents aefbe41fcf12
children f3f7e256ee03 ffa43f252492
line wrap: on
line source

package alice.topology.node;

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

public class TopologyNode {

    public TopologyNode(TopologyNodeConfig conf, CodeSegment startCS) {
        new AliceDaemon(conf).listen();
        new StartTopologyNode(conf, startCS).execute();
    }

    public static void main(String[] args) {
        TopologyNodeConfig conf = new TopologyNodeConfig(args);
        new TopologyNode(conf, null);
    }

}