public class ChangeAddrMessage extends java.lang.Object implements Message
Constructor and Description |
---|
ChangeAddrMessage(byte newAddress)
Creates a new change address message
|
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 ChangeAddrMessage(byte newAddress)
newAddress
- the new address to be assignedpublic byte getType()
Message
public byte[] getPayload()
Message
getPayload
in interface Message