Mercurial > hg > Database > Alice
view src/main/java/alice/topology/manager/ComingServiceHosts.java @ 602:8a9fd716c335 dispose
change topology class extends CodeSegment from MetaCodeSegment, Chat minor fix
author | Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 03 May 2016 20:09:45 +0900 |
parents | 3284428f525e |
children |
line wrap: on
line source
package alice.topology.manager; import alice.codesegment.CodeSegment; import alice.codesegment.MetaCodeSegment; import alice.datasegment.CommandType; import alice.datasegment.Receiver; /** * This class create topology when putted newHost by CheckComingHost */ public class ComingServiceHosts extends CodeSegment { private Receiver info = ids.create(CommandType.PEEK); public ComingServiceHosts(){ info.setKey("newHost"); } @Override public void run() { new CreateTreeTopology(); new ComingServiceHosts(); } }