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, waitgetPayloadBytesCount, getTotalBytesCount, getTotalBytesSumpublic ChangeAddrMessage(byte newAddress)
newAddress - the new address to be assignedpublic byte getType()
Messagepublic byte[] getPayload()
MessagegetPayload in interface Message