|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.eurotech.framework.protocol.pcn.LogEntry com.eurotech.framework.protocol.pcn.ErrStatsLogEntry
public class ErrStatsLogEntry
Defines PCN1001 error statistics log entry.
Constructor Summary | |
---|---|
ErrStatsLogEntry(String vehicleID,
Calendar timestamp,
String loggingPath,
String publishTopic,
int publishQoS,
ErrStats[] allErrStats)
ErrStatsLogEntry constructor |
Method Summary | |
---|---|
String |
formLogFilename()
Forms an absolute path to GPS log filename. |
ErrStats[] |
getAllErrStats()
Reports all the passengers' counter error statistics |
void |
setAllErrStats(ErrStats[] allErrStats)
Sets all the passengers' counter error statistics |
String |
toMQttPayload()
Reports MQtt payload representation of this object |
String |
toString()
Reports string representation of this object |
Methods inherited from class com.eurotech.framework.protocol.pcn.LogEntry |
---|
generateHHMMSS, generateHHMMSS, generateYYYYMMDD, generateYYYYMMDD, getLoggingPath, getPublishQoS, getPublishTopic, getTimestamp, getVehicleID, isPublished, setLoggingPath, setPublished, setTimestamp, setVehicleID |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ErrStatsLogEntry(String vehicleID, Calendar timestamp, String loggingPath, String publishTopic, int publishQoS, ErrStats[] allErrStats)
vehicleID
- - vehicle IS as String
timestamp
- - time stamp as Calendar
loggingPath
- - absolute logging path as String
publishTopic
- - publish topic as String
publishQoS
- - publish QoS as int
Method Detail |
---|
public ErrStats[] getAllErrStats()
ErrStats[]
public void setAllErrStats(ErrStats[] allErrStats)
allErrStats
- - all the the passengers' counter error statistics as ErrStats[]
public String toString()
toString
in class LogEntry
String
public String toMQttPayload()
toMQttPayload
in class LogEntry
String
public String formLogFilename()
formLogFilename
in class LogEntry
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |