Mercurial > hg > Database > Alice
view src/test/java/alice/daemon/ReceiveString.java @ 508:b7d02ea79850 dispose
change multicast Data Segment API
author | sugi |
---|---|
date | Sun, 04 Jan 2015 13:51:01 +0900 |
parents | |
children |
line wrap: on
line source
package alice.daemon; import alice.codesegment.CodeSegment; import alice.datasegment.CommandType; import alice.datasegment.Receiver; public class ReceiveString extends CodeSegment { public Receiver str = ids.create(CommandType.TAKE); @Override public void run() { System.out.println(str.asString()); System.exit(0); } }