Mercurial > hg > Database > Alice
view src/main/java/alice/topology/node/PrepareToAddList.java @ 518:fc313323c53b dispose
add reconnect event
author | sugi |
---|---|
date | Thu, 22 Jan 2015 16:01:32 +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(); } }