Package jmri.jmrix.ieee802154.xbee
Class XBeeReply
- java.lang.Object
-
- jmri.jmrix.AbstractMessage
-
- jmri.jmrix.AbstractMRReply
-
- jmri.jmrix.ieee802154.IEEE802154Reply
-
- jmri.jmrix.ieee802154.xbee.XBeeReply
-
- All Implemented Interfaces:
Message
public class XBeeReply extends IEEE802154Reply
Contains the data payload of a serial reply packet. Note that it's _only_ the payload.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) com.digi.xbee.api.packet.XBeePacket
xbresponse
-
Fields inherited from class jmri.jmrix.AbstractMRReply
DEFAULTMAXSIZE
-
Fields inherited from class jmri.jmrix.AbstractMessage
_dataChars, _nDataChars
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.digi.xbee.api.packet.XBeePacket
getXBeeResponse()
void
setXBeeResponse(com.digi.xbee.api.packet.XBeePacket xbr)
java.lang.String
toMonitorString()
java.lang.String
toString()
-
Methods inherited from class jmri.jmrix.ieee802154.IEEE802154Reply
checkParity, getDestinationAddress, getDestinationAddressMode, getFrameControl, getLength, getPayload, getSequenceByte, getSourceAddr, getSourceAddressMode, isIntraPanFrame, skipPrefix
-
Methods inherited from class jmri.jmrix.AbstractMRReply
flush, getOpCode, isBinary, isRetransmittableErrorMsg, isUnsolicited, match, maxSize, pollValue, setBinary, setElement, setOpCode, setUnsolicited, skipWhiteSpace, value
-
Methods inherited from class jmri.jmrix.AbstractMessage
equals, getElement, getNumDataElements, hashCode
-
-
-
-
Field Detail
-
xbresponse
com.digi.xbee.api.packet.XBeePacket xbresponse
-
-
Method Detail
-
toMonitorString
public java.lang.String toMonitorString()
- Returns:
- a human-readable representation of the message.
-
toString
public java.lang.String toString()
Description copied from interface:Message
- Specified by:
toString
in interfaceMessage
- Overrides:
toString
in classAbstractMRReply
-
getXBeeResponse
public com.digi.xbee.api.packet.XBeePacket getXBeeResponse()
-
setXBeeResponse
public void setXBeeResponse(com.digi.xbee.api.packet.XBeePacket xbr)
-
-