Mercurial > hg > Database > Alice
view src/main/java/alice/topology/node/PrepareToAddList.java @ 647:e321c5ec9b58
fix toplogy manager; ring worked
author | suruga |
---|---|
date | Sun, 31 Dec 2017 19:32:27 +0900 |
parents | a7f140f4bcb1 |
children | 15eeb439830c 767d93626b88 3284428f525e |
line wrap: on
line source
package alice.topology.node; import alice.codesegment.CodeSegment; import alice.datasegment.CommandType; import alice.datasegment.Receiver; public class PrepareToAddList extends CodeSegment { public Receiver info = ids.create(CommandType.TAKE); public Receiver info2 = ids.create(CommandType.TAKE); public PrepareToAddList(String key) { info.setKey("connection"+key); info2.setKey("connection"+key); } @Override public void run() { String connectionName = info.asString(); ods.put("cMember", connectionName); new CreateConnectionList(); } }