Mercurial > hg > Database > Alice
view src/alice/topology/node/Start.java @ 46:1a498f436332
bug fix for time calculate
author | kazz <kazz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 04 Feb 2012 16:03:05 +0900 |
parents | ae24d5d40c10 |
children | f84e1684c6be |
line wrap: on
line source
package alice.topology.node; import org.apache.log4j.Logger; import alice.codesegment.CodeSegment; import alice.datasegment.CommandType; import alice.datasegment.Receiver; public class Start extends CodeSegment { public Receiver done = ids.create(CommandType.PEEK); private Logger logger = Logger.getLogger(Start.class); private CodeSegment startCS; public Start(CodeSegment startCS) { this.startCS = startCS; } @Override public void run() { logger.info("Configuration finished."); if (startCS == null) return; startCS.execute(); } }