comparison 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
comparison
equal deleted inserted replaced
507:28627bb3eeda 508:b7d02ea79850
1 package alice.daemon;
2
3 import alice.codesegment.CodeSegment;
4 import alice.datasegment.CommandType;
5 import alice.datasegment.Receiver;
6
7 public class ReceiveString extends CodeSegment {
8
9 public Receiver str = ids.create(CommandType.TAKE);
10
11 @Override
12 public void run() {
13 System.out.println(str.asString());
14 System.exit(0);
15 }
16
17 }