view src/alice/test/codesegment/local/StartCodeSegment.java @ 131:2b991e8b7fc0 working

minor change
author sugi
date Tue, 14 Aug 2012 12:55:28 +0900
parents f84e1684c6be
children 53aff28cde6b
line wrap: on
line source

package alice.test.codesegment.local;

import alice.codesegment.CodeSegment;
import alice.test.topology.fishmodel.alpha.FishPoint;

public class StartCodeSegment extends CodeSegment {

	@Override
	public void run() {
		System.out.println("run StartCodeSegment");
		
		/*
		TestCodeSegment cs = new TestCodeSegment();
		cs.arg1.setKey("key1"); // unbound datasegment key1 is created and connect to cs.
								// cs is waiting for local.key1
		ods.update("local", "key1", 0);  // bind string data to datasegment local.key1
										 // this startup TestCodeSegment.  
		*/
		
		new TestCodeSegment();
		System.out.println("create TestCodeSegment");
		ods.update("local", "key1", new FishPoint(0.0f,0.0f));
													
 	}

	
}