Package jmri.jmrix.powerline.simulator
Class SpecificReply
- java.lang.Object
-
- jmri.jmrix.AbstractMessage
-
- jmri.jmrix.AbstractMRReply
-
- jmri.jmrix.powerline.SerialReply
-
- jmri.jmrix.powerline.simulator.SpecificReply
-
- All Implemented Interfaces:
Message
public class SpecificReply extends SerialReply
Contains the data payload of a serial reply packet. Note that it's _only_ the payload.
-
-
Field Summary
-
Fields inherited from class jmri.jmrix.AbstractMRReply
DEFAULTMAXSIZE
-
Fields inherited from class jmri.jmrix.AbstractMessage
_dataChars, _nDataChars
-
-
Constructor Summary
Constructors Constructor Description SpecificReply(java.lang.String s, SerialTrafficController tc)
SpecificReply(SerialTrafficController tc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toMonitorString()
-
Methods inherited from class jmri.jmrix.powerline.SerialReply
getAddr, skipPrefix
-
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 Detail
-
SpecificReply
public SpecificReply(SerialTrafficController tc)
-
SpecificReply
public SpecificReply(java.lang.String s, SerialTrafficController tc)
-
-
Method Detail
-
toMonitorString
public java.lang.String toMonitorString()
- Returns:
- a human-readable representation of the message.
-
-