view src/main/java/christie/topology/manager/ComingServiceHosts.java @ 85:331ad549e764

fix CreateTreeTopology
author akahori
date Sat, 15 Sep 2018 10:22:12 +0900
parents 2314c55534ef
children
line wrap: on
line source

package christie.topology.manager;


import christie.annotation.Peek;
import christie.codegear.CodeGear;
import christie.codegear.CodeGearManager;
import christie.topology.HostMessage;

public class ComingServiceHosts extends CodeGear{
    // このクラスそもそもいらない説. CreateTreeTopologyだけでいいかも.

    // Peekなの?
    //private Receiver info = ids.create(CommandType.PEEK);

    @Peek
    HostMessage newHost;

    public ComingServiceHosts(){

    }

    @Override
    protected void run(CodeGearManager cgm) {
        cgm.setup(new CreateTreeTopology());
        cgm.setup(new ComingServiceHosts());
    }

}