com.sentilla.host.client.network
Class HealthMessage

java.lang.Object
  extended by com.sentilla.io.HostMessage
      extended by com.sentilla.host.client.network.HealthMessage
All Implemented Interfaces:
Serializable

public class HealthMessage
extends HostMessage

See Also:
Serialized Form

Field Summary
private  int binaryHash
           
private  double humidity
           
private  long id
           
private  int isolateHash
           
private  short memory
           
private static int MESSAGE_SIZE
           
private  int mimeoSlot
           
private static long serialVersionUID
           
private  double temperature
           
private  short totalMemory
           
private  double voltage
           
 
Fields inherited from class com.sentilla.io.HostMessage
messageType, msgId, obj, returnStatus
 
Constructor Summary
private HealthMessage()
           
 
Method Summary
private static double decodeShort(short value)
           
 int getBinaryHash()
           
 double getHumidity()
           
 long getId()
           
 int getIsolateHash()
           
 short getMemory()
           
 int getMimeoSlot()
           
 double getTemperature()
           
 short getTotalMemory()
           
 double getVoltage()
           
 String toString()
           
static HealthMessage unmarshal(ByteBuffer buf)
           
 
Methods inherited from class com.sentilla.io.HostMessage
getMessageType, getMsgId, getObject, getReturnStatus, setMessageType, setObject, setReturnStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

HealthMessage

private HealthMessage()
Method Detail

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.