- Timestamp:
- 06/16/11 15:05:59 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/windows/SequenceSplitter.java
r76 r77 4 4 import java.util.List; 5 5 6 import de.ugoe.cs.eventbench.data.Event;7 6 import de.ugoe.cs.eventbench.windows.data.WindowsMessage; 8 7 import de.ugoe.cs.util.console.Console; … … 18 17 private EventGenerator tokenGenerator; 19 18 20 private List< Event<WindowsMessage>> actionSequence;19 private List<WindowsEvent> actionSequence; 21 20 22 21 public SequenceSplitter() { … … 25 24 initMessages = true; 26 25 tokenGenerator = new EventGenerator(); 27 actionSequence = new LinkedList< Event<WindowsMessage>>();26 actionSequence = new LinkedList<WindowsEvent>(); 28 27 } 29 28 … … 31 30 if( startOfSequence(msg) ) { 32 31 if( !initMessages ) { 33 Event<WindowsMessage>currentAction = tokenGenerator.generateEvent(currentSequence);32 WindowsEvent currentAction = tokenGenerator.generateEvent(currentSequence); 34 33 if( currentAction!=null ) { 35 34 actionSequence.add(currentAction); … … 51 50 } 52 51 53 public List< Event<WindowsMessage>> getSequence() {52 public List<WindowsEvent> getSequence() { 54 53 return actionSequence; 55 54 } 56 55 57 56 public void endSession() { 58 Event<WindowsMessage>currentAction = tokenGenerator.generateEvent(currentSequence);57 WindowsEvent currentAction = tokenGenerator.generateEvent(currentSequence); 59 58 if( currentAction!=null ) { 60 59 actionSequence.add(currentAction);
Note: See TracChangeset
for help on using the changeset viewer.