| Constructor and Description |
|---|
JsfLog(java.lang.String fileName) |
| 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
|
public pt.lsts.imc.IMCMessage getEntryAtOrAfter(long timestamp)
getEntryAtOrAfter in interface IMraLogpublic pt.lsts.imc.IMCMessage getEntryAtOrAfter(long timestamp,
java.lang.String entityName)
getEntryAtOrAfter in interface IMraLogpublic java.lang.String name()
IMraLogpublic pt.lsts.imc.IMCMessage getLastEntry()
IMraLoggetLastEntry in interface IMraLogpublic pt.lsts.imc.IMCMessageType format()
IMraLogpublic java.util.LinkedHashMap<java.lang.String,java.lang.Object> metaInfo()
IMraLogpublic long currentTimeMillis()
IMraLogcurrentTimeMillis in interface IMraLogpublic pt.lsts.imc.IMCMessage nextLogEntry()
IMraLognextLogEntry in interface IMraLogpublic pt.lsts.imc.IMCMessage firstLogEntry()
IMraLogfirstLogEntry in interface IMraLogpublic void advance(long millis)
IMraLogpublic pt.lsts.imc.IMCMessage getCurrentEntry()
IMraLoggetCurrentEntry in interface IMraLogpublic java.util.Collection<pt.lsts.imc.IMCMessage> getExactTimeEntries(long timeStampMillis)
IMraLoggetExactTimeEntries in interface IMraLogtimeStampMillis - Time stamp, in millisecondspublic int getNumberOfEntries()
IMraLoggetNumberOfEntries in interface IMraLogCopyright © 2004-2014 FEUP-LSTS and Neptus developers. All Rights Reserved.