public class LogFileReplay
extends java.lang.Object
| Constructor and Description |
|---|
LogFileReplay(LogFile logFile)
Create a new
LogFileReplay with a specific LogFile. |
| Modifier and Type | Method and Description |
|---|---|
TimeSource |
getTimeSource() |
boolean |
isInfiniteReplay() |
void |
seekTo(long pos) |
void |
setBus(java.lang.String name,
Bus bus)
Connect a bus to the
LogFileReplay. |
void |
setInfiniteReplay(boolean infiniteReplay) |
void |
setTimeSource(TimeSource source) |
public LogFileReplay(LogFile logFile) throws java.io.FileNotFoundException
LogFileReplay with a specific LogFile.logFile - java.io.FileNotFoundExceptionpublic boolean isInfiniteReplay()
public void setInfiniteReplay(boolean infiniteReplay)
public TimeSource getTimeSource()
public void setTimeSource(TimeSource source)
public void setBus(java.lang.String name,
Bus bus)
LogFileReplay. Every log entry with 'name'
will be sent to the corresponding bus.name - Name in the log filebus - Bus that will be connected to this namepublic void seekTo(long pos)
Data In Motion Consulting GmbH