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
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(SerialTrafficController tc)SpecificReply(SerialTrafficController tc, java.lang.String s)SpecificReply(SerialTrafficController tc, SerialReply l) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) intstartIndex()Find 1st byte that's not 0xFF, or -1 if nonejava.lang.StringtoMonitorString()Translate packet to text- 
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(SerialTrafficController tc, java.lang.String s)
 
- 
SpecificReply
public SpecificReply(SerialTrafficController tc, SerialReply l)
 
 - 
 
- 
Method Detail
- 
startIndex
int startIndex()
Find 1st byte that's not 0xFF, or -1 if none- Returns:
 - -1 or index to first valid byte
 
 
- 
toMonitorString
public java.lang.String toMonitorString()
Translate packet to text- Returns:
 - a human-readable representation of the message.
 
 
 - 
 
 -