516
|
1 package alice.topology.node;
|
|
2
|
|
3 import alice.codesegment.CodeSegment;
|
|
4 import alice.datasegment.CommandType;
|
|
5 import alice.datasegment.Receiver;
|
|
6
|
|
7 public class PrepareToAddList extends CodeSegment {
|
|
8
|
|
9 public Receiver info = ids.create(CommandType.TAKE);
|
|
10 public Receiver info2 = ids.create(CommandType.TAKE);
|
|
11
|
|
12 public PrepareToAddList(String key) {
|
|
13 info.setKey("connection"+key);
|
|
14 info2.setKey("connection"+key);
|
|
15 }
|
|
16
|
|
17 @Override
|
|
18 public void run() {
|
|
19 String connectionName = info.asString();
|
|
20 ods.put("cMember", connectionName);
|
|
21 new CreateConnectionList();
|
|
22 }
|
|
23
|
|
24 }
|