Package jmri.jmrix.easydcc
Class EasyDccReply
- java.lang.Object
- 
- jmri.jmrix.AbstractMessage
- 
- jmri.jmrix.AbstractMRReply
- 
- jmri.jmrix.easydcc.EasyDccReply
 
 
 
- 
- All Implemented Interfaces:
- Message
 
 public class EasyDccReply extends AbstractMRReply Carries the reply to an EasyDccMessage.
- 
- 
Field Summary- 
Fields inherited from class jmri.jmrix.AbstractMRReplyDEFAULTMAXSIZE
 - 
Fields inherited from class jmri.jmrix.AbstractMessage_dataChars, _nDataChars
 
- 
 - 
Constructor SummaryConstructors Constructor Description EasyDccReply()EasyDccReply(java.lang.String s)EasyDccReply(EasyDccReply l)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intskipPrefix(int index)intvalue()Extracts Read-CV returned value from a message.- 
Methods inherited from class jmri.jmrix.AbstractMRReplyflush, getOpCode, isBinary, isRetransmittableErrorMsg, isUnsolicited, match, maxSize, pollValue, setBinary, setElement, setOpCode, setUnsolicited, skipWhiteSpace, toString
 - 
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- 
EasyDccReplypublic EasyDccReply() 
 - 
EasyDccReplypublic EasyDccReply(java.lang.String s) 
 - 
EasyDccReplypublic EasyDccReply(EasyDccReply l) 
 
- 
 - 
Method Detail- 
skipPrefixprotected int skipPrefix(int index) - Specified by:
- skipPrefixin class- AbstractMRReply
 
 - 
valuepublic int value() Extracts Read-CV returned value from a message. Expects a message of the format "CVnnnvv" where vv is the hexadecimal value or "Vnvv" where vv is the hexadecimal value.- Overrides:
- valuein class- AbstractMRReply
- Returns:
- -1 if message can't be parsed
 
 
- 
 
-