annotate src/alice/test/codesegment/local/StartCodeSegment.java @ 323:d746c4486287

work
author one
date Mon, 23 Dec 2013 17:13:16 +0900
parents f1f0638861ab
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
22
2ca2d961a8d2 implements outline of TopologyManager
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents: 19
diff changeset
1 package alice.test.codesegment.local;
8
78b415d019de Local DS and CS work! maybe...
one
parents:
diff changeset
2
78b415d019de Local DS and CS work! maybe...
one
parents:
diff changeset
3 import alice.codesegment.CodeSegment;
78b415d019de Local DS and CS work! maybe...
one
parents:
diff changeset
4
78b415d019de Local DS and CS work! maybe...
one
parents:
diff changeset
5 public class StartCodeSegment extends CodeSegment {
78b415d019de Local DS and CS work! maybe...
one
parents:
diff changeset
6
78b415d019de Local DS and CS work! maybe...
one
parents:
diff changeset
7 @Override
78b415d019de Local DS and CS work! maybe...
one
parents:
diff changeset
8 public void run() {
78b415d019de Local DS and CS work! maybe...
one
parents:
diff changeset
9 System.out.println("run StartCodeSegment");
131
2b991e8b7fc0 minor change
sugi
parents: 119
diff changeset
10
323
one
parents: 314
diff changeset
11 TestCodeSegment cs = new TestCodeSegment();
one
parents: 314
diff changeset
12 cs.arg1.setKey("key1"); // unbound datasegment key1 is created and connect to cs.
97
df786bf8f036 add FishPoint.java and Test
sugi
parents: 71
diff changeset
13 // cs is waiting for local.key1
197
2b28d3c16a58 use list-capacity
e095732
parents: 196
diff changeset
14 System.out.println("create TestCodeSegment");
119
f84e1684c6be put NULL in CS
sugi
parents: 107
diff changeset
15
197
2b28d3c16a58 use list-capacity
e095732
parents: 196
diff changeset
16 ods.update("local", "key1", "String data"); // bind string data to datasegment local.key1
2b28d3c16a58 use list-capacity
e095732
parents: 196
diff changeset
17 // this startup TestCodeSegment.
57
7fa9ddb31f64 add comment
one
parents: 39
diff changeset
18 }
8
78b415d019de Local DS and CS work! maybe...
one
parents:
diff changeset
19
78b415d019de Local DS and CS work! maybe...
one
parents:
diff changeset
20 }