public class SensorTypeMessage extends java.lang.Object implements Message
Constructor and Description |
---|
SensorTypeMessage(Sensor sensor1,
Sensor sensor2)
Initialize the sensor type message with the two sensors to declare
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getPayload()
Get the message payload excluding the type
|
byte |
getType()
Get the type value of the message
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPayloadBytesCount, getTotalBytesCount, getTotalBytesSum
public byte getType()
Message
public byte[] getPayload()
Message
getPayload
in interface Message