view src/main/java/alice/topology/node/PrepareToAddList.java @ 547:e91a574b69de dispose

remove index
author Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp>
date Tue, 18 Aug 2015 16:15:17 +0900
parents 15eeb439830c
children
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, this);
        info2.setKey("connection"+key, this);
    }

    @Override
    public void run() {
        String connectionName = info.asString();
        ods.put("cMember", connectionName);
        new CreateConnectionList();
    }

}