Package jmri.jmrix.powerline
Class SerialReply
- java.lang.Object
- 
- jmri.jmrix.AbstractMessage
- 
- jmri.jmrix.AbstractMRReply
- 
- jmri.jmrix.powerline.SerialReply
 
 
 
- 
- All Implemented Interfaces:
- Message
 - Direct Known Subclasses:
- SpecificReply,- SpecificReply,- SpecificReply,- SpecificReply,- SpecificReply
 
 public abstract class SerialReply extends AbstractMRReply Contains the data payload of a serial reply packet. Note that it's _only_ the payload.
- 
- 
Field SummaryFields Modifier and Type Field Description (package private) SerialTrafficControllertc- 
Fields inherited from class jmri.jmrix.AbstractMRReplyDEFAULTMAXSIZE
 - 
Fields inherited from class jmri.jmrix.AbstractMessage_dataChars, _nDataChars
 
- 
 - 
Constructor SummaryConstructors Constructor Description SerialReply(SerialTrafficController tc)SerialReply(SerialTrafficController tc, java.lang.String s)SerialReply(SerialTrafficController tc, SerialReply l)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAddr()Is reply to poll messageprotected intskipPrefix(int index)- 
Methods inherited from class jmri.jmrix.AbstractMRReplyflush, getOpCode, isBinary, isRetransmittableErrorMsg, isUnsolicited, match, maxSize, pollValue, setBinary, setElement, setOpCode, setUnsolicited, skipWhiteSpace, toString, value
 - 
Methods inherited from class jmri.jmrix.AbstractMessageequals, getElement, getNumDataElements, hashCode
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface jmri.jmrix.MessagetoMonitorString
 
- 
 
- 
- 
- 
Constructor Detail- 
SerialReplypublic SerialReply(SerialTrafficController tc) 
 - 
SerialReplypublic SerialReply(SerialTrafficController tc, java.lang.String s) 
 - 
SerialReplypublic SerialReply(SerialTrafficController tc, SerialReply l) 
 
- 
 - 
Method Detail- 
getAddrpublic int getAddr() Is reply to poll message- Returns:
- value of poll message
 
 - 
skipPrefixprotected int skipPrefix(int index) - Specified by:
- skipPrefixin class- AbstractMRReply
 
 
- 
 
-