Changeset 87 for trunk


Ignore:
Timestamp:
06/23/11 14:03:08 (13 years ago)
Author:
sherbold
Message:
  • made event implementations serializable

+ added commands saveObject and loadObject to save data stored in the global data container

Location:
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench
Files:
2 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/web/data/WebEvent.java

    r53 r87  
    77public class WebEvent extends ReplayableEvent<WebRequest> { 
    88 
     9        /** 
     10         * Id for object serialization. 
     11         */ 
     12        private static final long serialVersionUID = 1L; 
     13         
    914        private final long timestamp; 
    1015        private String uri; 
  • trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/web/data/WebRequest.java

    r53 r87  
    77 
    88public class WebRequest implements IReplayable { 
     9 
     10        /** 
     11         * Id for object serialization. 
     12         */ 
     13        private static final long serialVersionUID = 1L; 
    914 
    1015        List<String> postVars; 
  • trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/windows/MFCReplayDecorator.java

    r58 r87  
    66public class MFCReplayDecorator implements IReplayDecorator { 
    77 
    8         private static MFCReplayDecorator theInstance; 
     8        /** 
     9         * Id for object serialization. 
     10         */ 
     11        private static final long serialVersionUID = 1L; 
     12         
     13        transient private static MFCReplayDecorator theInstance; 
    914         
    1015        private MFCReplayDecorator() {}; 
  • trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/windows/WindowsEvent.java

    r77 r87  
    88public class WindowsEvent extends ReplayableEvent<WindowsMessage> { 
    99 
     10        /** 
     11         * Id for object serialization. 
     12         */ 
     13        private static final long serialVersionUID = 1L; 
     14 
    1015        public WindowsEvent(String type) { 
    1116                super(type); 
  • trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/windows/data/WindowsMessage.java

    r52 r87  
    99 
    1010public class WindowsMessage implements IReplayable { 
     11        /** 
     12         * Id for object serialization.  
     13         */ 
     14        private static final long serialVersionUID = 1L; 
     15         
    1116        final int type; 
    1217        private String windowClass = ""; 
Note: See TracChangeset for help on using the changeset viewer.