Package jmri.jmrix.tmcc
Class SerialReply
java.lang.Object
jmri.jmrix.AbstractMessage
jmri.jmrix.AbstractMRReply
jmri.jmrix.tmcc.SerialReply
- All Implemented Interfaces:
Message
public class SerialReply extends AbstractMRReply
Contains the data payload of a TMCC serial reply packet.
Note that only the payload, not the header or trailer, nor the padding DLE characters are included. These are added during transmission.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description SerialReply()
SerialReply(String s)
SerialReply(SerialReply l)
-
Method Summary
Modifier and Type Method Description int
getAsWord()
protected int
skipPrefix(int index)
String
toString()
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
-
Constructor Details
-
SerialReply
public SerialReply() -
SerialReply
-
SerialReply
-
-
Method Details
-
toString
Description copied from interface:Message
- Specified by:
toString
in interfaceMessage
- Overrides:
toString
in classAbstractMRReply
-
getAsWord
-
skipPrefix
- Specified by:
skipPrefix
in classAbstractMRReply
-