|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectorg.dxc.api.datatypes.DxcData
org.dxc.api.datatypes.SensorData
public class SensorData
Data structure for sensor data messages.
Constructor Summary | |
---|---|
SensorData(long timestamp,
StringValueMap sensors)
Constructor. |
|
SensorData(StringValueMap sensors)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(Object o)
|
Map<String,Value> |
getSensorValueMap()
Returns the map from sensor to Value. |
int |
hashCode()
|
OutputStream |
put(OutputStream os)
Prints DxcData. |
Methods inherited from class org.dxc.api.datatypes.DxcData |
---|
getCurrentTime, getSource, getTimeStamp, setSource, setTimeStamp, toString |
Methods inherited from class Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SensorData(long timestamp, StringValueMap sensors)
timestamp
- - message timestamp.sensors
- - map containing data points for each sensor.public SensorData(StringValueMap sensors)
sensors
- - map containing data points for each sensor.Method Detail |
---|
public Map<String,Value> getSensorValueMap()
public OutputStream put(OutputStream os)
DxcData
put
in class DxcData
public boolean equals(Object o)
equals
in class DxcData
public int hashCode()
hashCode
in class DxcData
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |