Ignore:
Timestamp:
06/16/11 15:05:59 (13 years ago)
Author:
sherbold
Message:

+ introduced de.ugoe.cs.eventbench.windows.WindowsEvent?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/windows/SequenceSplitter.java

    r76 r77  
    44import java.util.List; 
    55 
    6 import de.ugoe.cs.eventbench.data.Event; 
    76import de.ugoe.cs.eventbench.windows.data.WindowsMessage; 
    87import de.ugoe.cs.util.console.Console; 
     
    1817        private EventGenerator tokenGenerator; 
    1918         
    20         private List<Event<WindowsMessage>> actionSequence; 
     19        private List<WindowsEvent> actionSequence; 
    2120         
    2221        public SequenceSplitter() { 
     
    2524                initMessages = true; 
    2625                tokenGenerator = new EventGenerator(); 
    27                 actionSequence = new LinkedList<Event<WindowsMessage>>(); 
     26                actionSequence = new LinkedList<WindowsEvent>(); 
    2827        } 
    2928         
     
    3130                if( startOfSequence(msg) ) { 
    3231                        if( !initMessages ) { 
    33                                 Event<WindowsMessage> currentAction = tokenGenerator.generateEvent(currentSequence); 
     32                                WindowsEvent currentAction = tokenGenerator.generateEvent(currentSequence); 
    3433                                if( currentAction!=null ) { 
    3534                                        actionSequence.add(currentAction); 
     
    5150        } 
    5251         
    53         public List<Event<WindowsMessage>> getSequence() { 
     52        public List<WindowsEvent> getSequence() { 
    5453                return actionSequence; 
    5554        } 
    5655         
    5756        public void endSession() { 
    58                 Event<WindowsMessage> currentAction = tokenGenerator.generateEvent(currentSequence); 
     57                WindowsEvent currentAction = tokenGenerator.generateEvent(currentSequence); 
    5958                if( currentAction!=null ) { 
    6059                        actionSequence.add(currentAction); 
Note: See TracChangeset for help on using the changeset viewer.