Package jmri.jmrix.powerline.cp290
Class SpecificReply
java.lang.Object
jmri.jmrix.AbstractMessage
jmri.jmrix.AbstractMRReply
jmri.jmrix.powerline.SerialReply
jmri.jmrix.powerline.cp290.SpecificReply
- All Implemented Interfaces:
Message
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
DEFAULTMAXSIZEFields inherited from class jmri.jmrix.AbstractMessage
_dataChars, _nDataChars -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescription(package private) intFind 1st byte that's not 0xFF, or -1 if noneTranslate packet to textMethods inherited from class jmri.jmrix.powerline.SerialReply
getAddr, skipPrefixMethods inherited from class jmri.jmrix.AbstractMRReply
flush, getOpCode, isBinary, isRetransmittableErrorMsg, isUnsolicited, match, maxSize, pollValue, setBinary, setElement, setOpCode, setUnsolicited, skipWhiteSpace, toString, valueMethods inherited from class jmri.jmrix.AbstractMessage
equals, getElement, getNumDataElements, hashCode
-
Constructor Details
-
SpecificReply
-
SpecificReply
-
SpecificReply
-
-
Method Details
-
startIndex
int startIndex()Find 1st byte that's not 0xFF, or -1 if none- Returns:
- -1 or index to first valid byte
-
toMonitorString
Translate packet to text- Returns:
- a human-readable representation of the message.
-