Package jmri.jmrix.ieee802154.xbee
Class XBeeBroadcastMessage
- java.lang.Object
-
- jmri.jmrix.AbstractMessage
-
- jmri.jmrix.AbstractMRMessage
-
- jmri.jmrix.ieee802154.IEEE802154Message
-
- jmri.jmrix.ieee802154.xbee.XBeeMessage
-
- jmri.jmrix.ieee802154.xbee.XBeeBroadcastMessage
-
- All Implemented Interfaces:
BroadcastMessage
,Message
public class XBeeBroadcastMessage extends XBeeMessage implements BroadcastMessage
This is an extension of the XBeeMessage class for messages that are to be sent as broadcast messages.
-
-
Field Summary
-
Fields inherited from class jmri.jmrix.AbstractMRMessage
LONG_TIMEOUT, SHORT_TIMEOUT
-
Fields inherited from class jmri.jmrix.AbstractMessage
_dataChars, _nDataChars
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static XBeeBroadcastMessage
getTX16BroadcastMessage(byte[] payload)
Get an XBee Message for broadcasting a payload to the network.-
Methods inherited from class jmri.jmrix.ieee802154.xbee.XBeeMessage
checkParity, getFirmwareVersionRequest, getForceSampleMessage, getHardwareVersionRequest, getRemoteDoutMessage, getRemoteDoutMessage, getRemoteTransmissionRequest, getRemoteTransmissionRequest, getRemoteTransmissionRequest, getXBeeRequest, replyExpected, setParity, setXBeeRequest, toMonitorString, toString
-
Methods inherited from class jmri.jmrix.ieee802154.IEEE802154Message
getResponseLength, setResponseLength
-
Methods inherited from class jmri.jmrix.AbstractMRMessage
addIntAsFourHex, addIntAsThree, addIntAsThreeHex, addIntAsTwoHex, getNeededMode, getOpCode, getOpCodeHex, getRetries, getTimeout, isBinary, setBinary, setNeededMode, setOpCode, setRetries, setTimeout
-
Methods inherited from class jmri.jmrix.AbstractMessage
equals, getElement, getNumDataElements, hashCode, setElement
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jmri.jmrix.Message
getElement, getNumDataElements, setElement, toMonitorString, toString
-
-
-
-
Method Detail
-
getTX16BroadcastMessage
public static XBeeBroadcastMessage getTX16BroadcastMessage(byte[] payload)
Get an XBee Message for broadcasting a payload to the network.- Parameters:
payload
- A byte array containing the bytes to be broadcast as the low order word of the integer.- Returns:
- XBeeMessage with remote transmission request for the provided address containing the provided payload.
-
-