Modifier and Type | Method and Description |
---|---|
void |
advance(long millis)
Advance millis milliseconds in the log
|
long |
currentTimeMillis()
The timestamp of the current log entry (first entry by default)
|
pt.lsts.imc.IMCMessage |
firstLogEntry()
Goes back to the first Log Entry and retrieves it
|
pt.lsts.imc.IMCMessageType |
format()
Retrieve the log format as a Neptus message type
|
pt.lsts.imc.IMCMessage |
getCurrentEntry()
Retrieve all messages that have the given timestamp
|
pt.lsts.imc.IMCMessage |
getEntryAtOrAfter(long timestamp) |
pt.lsts.imc.IMCMessage |
getEntryAtOrAfter(long timestamp,
java.lang.String entityName) |
java.util.Collection<pt.lsts.imc.IMCMessage> |
getExactTimeEntries(long timeStampMillis)
Retrieve all messages that have the given timestamp
|
pt.lsts.imc.IMCMessage |
getLastEntry()
Retrieve the last entry in this log
|
int |
getNumberOfEntries()
Retrieve the total number of entries in this log
|
java.util.LinkedHashMap<java.lang.String,java.lang.Object> |
metaInfo()
Retrieve meta-information associated with this log
|
java.lang.String |
name()
Retrieve a name that will identify this log file (like the name of the message)
|
pt.lsts.imc.IMCMessage |
nextLogEntry()
Advance to the next Log entry and retrieve it as a IMCMessage
|
pt.lsts.imc.IMCMessage getEntryAtOrAfter(long timestamp)
pt.lsts.imc.IMCMessage getEntryAtOrAfter(long timestamp, java.lang.String entityName)
java.lang.String name()
pt.lsts.imc.IMCMessage getLastEntry()
pt.lsts.imc.IMCMessageType format()
java.util.LinkedHashMap<java.lang.String,java.lang.Object> metaInfo()
long currentTimeMillis()
pt.lsts.imc.IMCMessage nextLogEntry()
pt.lsts.imc.IMCMessage firstLogEntry()
void advance(long millis)
millis
- The time to advance, in millisecondspt.lsts.imc.IMCMessage getCurrentEntry()
timeStampMillis
- Time stamp, in millisecondsjava.util.Collection<pt.lsts.imc.IMCMessage> getExactTimeEntries(long timeStampMillis)
timeStampMillis
- Time stamp, in millisecondsint getNumberOfEntries()
Copyright © 2004-2020 FEUP-LSTS and Neptus developers. All Rights Reserved.