|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--eduni.simdiag.TraceSaver
Stores trace events in a file. Currently not used in the Job Shop Simulator, but might be usefull in a future implemnitation.
Field Summary | |
private java.lang.String |
fname
|
private boolean |
isBroke
|
private java.io.PrintWriter |
trcstream
|
Fields inherited from interface eduni.simdiag.Traceable |
DISPLAY, LAYOUT, PAUSE, RUN, STOP, TRACE |
Constructor Summary | |
TraceSaver(java.lang.String fname)
Creates a trace saver with the given filename |
Method Summary | |
(package private) void |
close()
|
void |
handleTrace(TraceEventObject e)
Responds to a trace input event by writing it on to the file. |
(package private) void |
open()
|
Methods inherited from class java.lang.Object |
|
Field Detail |
private java.io.PrintWriter trcstream
private java.lang.String fname
private boolean isBroke
Constructor Detail |
public TraceSaver(java.lang.String fname)
Method Detail |
void open()
void close()
public void handleTrace(TraceEventObject e)
handleTrace
in interface TraceListener
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |