view src/alice/codesegment/CodeSegment.java @ 21:145667a554ad

run CodeSegment with ThreadPoolExecutor
author kazz <kazz@cr.ie.u-ryukyu.ac.jp>
date Sun, 15 Jan 2012 19:02:01 +0900
parents e7867328a2fb
children 3155337e754e
line wrap: on
line source

package alice.codesegment;

import alice.codesegment.InputDataSegment;

public abstract class CodeSegment implements Runnable {
	
	public InputDataSegment ids = new InputDataSegment(this);
	public OutputDataSegment ods = new OutputDataSegment();
	
	public void execute() {
		ids.receive();
	}

}