Package jmri.jmrix.oaktree
Class SerialReply
java.lang.Object
jmri.jmrix.AbstractMessage
jmri.jmrix.AbstractMRReply
jmri.jmrix.oaktree.SerialReply
- All Implemented Interfaces:
Message
public class SerialReply extends AbstractMRReply
Contains the data payload of a serial reply packet. Note that it's _only_ the
payload.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description SerialReply()
SerialReply(String s)
SerialReply(SerialReply l)
-
Method Summary
Modifier and Type Method Description int
getAddr()
Is reply to poll message.protected int
skipPrefix(int index)
Methods inherited from class jmri.jmrix.AbstractMRReply
flush, getOpCode, isBinary, isRetransmittableErrorMsg, isUnsolicited, match, maxSize, pollValue, setBinary, setElement, setOpCode, setUnsolicited, skipWhiteSpace, toString, value
Methods inherited from class jmri.jmrix.AbstractMessage
equals, getElement, getNumDataElements, hashCode
-
Constructor Details
-
SerialReply
public SerialReply() -
SerialReply
-
SerialReply
-
-
Method Details
-
getAddr
Is reply to poll message.- Returns:
- element 0.
-
skipPrefix
- Specified by:
skipPrefix
in classAbstractMRReply
-