view test/mergertest/EditorSimulatorImpl.java @ 471:d2762d669617

sleep command to wait for singleton prevention
author one
date Tue, 12 Oct 2010 10:19:59 +0900
parents b800b33c6988
children
line wrap: on
line source

package test.mergertest;

import rep.REPCommand;
import rep.handler.Editor;
import rep.optimizers.NullOptimizer;
import test.editortest.Logger;

public class EditorSimulatorImpl extends EditorSimulator {

	public Editor translator;

	public EditorSimulatorImpl(int sid, int eid) {
		this.eid = eid;
		this.sid = sid;
		
		translator = new Editor(eid, new NullOptimizer());
	}

	@Override
	public void send(REPCommand command) {
		Logger.print(command);
	}


	@Override
	public void write(REPCommand command) {
		
	}


}