420
|
1 package test.mergertest;
|
|
2
|
431
|
3 import java.util.List;
|
|
4
|
420
|
5 import rep.REPCommand;
|
|
6 import rep.handler.Translator;
|
|
7 import rep.optimizers.NullOptimizer;
|
|
8 import test.editortest.Logger;
|
|
9
|
|
10 public class EditorSimulatorImpl extends EditorSimulator {
|
|
11
|
421
|
12 public Translator translator;
|
420
|
13
|
|
14 public EditorSimulatorImpl(int sid, int eid) {
|
|
15 this.eid = eid;
|
|
16 this.sid = sid;
|
|
17
|
|
18 translator = new Translator(eid, new NullOptimizer());
|
|
19 }
|
|
20
|
|
21 @Override
|
|
22 public void send(REPCommand command) {
|
|
23 Logger.print(command);
|
|
24 }
|
|
25
|
431
|
26 @Override
|
|
27 public List<REPCommand> getSentList() {
|
|
28 return null;
|
|
29 }
|
|
30
|
450
|
31 @Override
|
|
32 public void write(REPCommand command) {
|
|
33
|
|
34 }
|
|
35
|
420
|
36 }
|