com.sentilla.host.client.network
Class HealthMessage
java.lang.Object
com.sentilla.io.HostMessage
com.sentilla.host.client.network.HealthMessage
- All Implemented Interfaces:
- Serializable
public class HealthMessage
- extends HostMessage
- See Also:
- Serialized Form
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
MESSAGE_SIZE
private static final int MESSAGE_SIZE
- See Also:
- Constant Field Values
id
private long id
humidity
private double humidity
temperature
private double temperature
voltage
private double voltage
memory
private short memory
totalMemory
private short totalMemory
isolateHash
private int isolateHash
binaryHash
private int binaryHash
mimeoSlot
private int mimeoSlot
HealthMessage
private HealthMessage()
getBinaryHash
public int getBinaryHash()
getIsolateHash
public int getIsolateHash()
getMimeoSlot
public int getMimeoSlot()
getTemperature
public double getTemperature()
getHumidity
public double getHumidity()
getVoltage
public double getVoltage()
unmarshal
public static HealthMessage unmarshal(ByteBuffer buf)
decodeShort
private static double decodeShort(short value)
getId
public long getId()
getMemory
public short getMemory()
getTotalMemory
public short getTotalMemory()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2007 Sentilla, Inc. All Rights Reserved.