view src/alice/test/topology/ring/RingMessagePassing.java @ 214:fec0726bb126 working

remove error
author one
date Wed, 27 Mar 2013 18:16:34 +0900
parents b5daccf36104
children
line wrap: on
line source

package alice.test.topology.ring;

import alice.codesegment.CodeSegment;
import alice.datasegment.CommandType;
import alice.datasegment.Receiver;

public class RingMessagePassing extends CodeSegment {

	public Receiver ds1 = ids.create(CommandType.TAKE);

	@Override
	public void run() {
		ods.put("right", "c", this.ds1.getVal());
		RingMessagePassing cs = new RingMessagePassing();
		cs.ds1.setKey("c");
	}

}