view src/alice/test/codesegment/remote/RemoteStartCodeSegment.java @ 22:2ca2d961a8d2

implements outline of TopologyManager
author kazz <kazz@cr.ie.u-ryukyu.ac.jp>
date Tue, 17 Jan 2012 00:40:27 +0900
parents src/alice/test/codesegment/RemoteStartCodeSegment.java@e7867328a2fb
children ca079a730d0b
line wrap: on
line source

package alice.test.codesegment.remote;

import org.msgpack.type.Value;
import org.msgpack.type.ValueFactory;

import alice.codesegment.CodeSegment;

public class RemoteStartCodeSegment extends CodeSegment {
	
	@Override
	public void run() {
		RemoteIncrement cs = new RemoteIncrement();
		cs.num.setKey("remote", "num");
		
		Value num = ValueFactory.createIntegerValue(0);
		ods.put("local", "num", num);
	}

}