Package jmri.jmrix.tams
Class TamsReply
- java.lang.Object
-
- jmri.jmrix.AbstractMessage
-
- jmri.jmrix.AbstractMRReply
-
- jmri.jmrix.tams.TamsReply
-
- All Implemented Interfaces:
Message
public class TamsReply extends AbstractMRReply
Carries the reply to a TamsMessageBased on work by Bob Jacobsen and Kevin Dickerson
-
-
Field Summary
-
Fields inherited from class jmri.jmrix.AbstractMRReply
DEFAULTMAXSIZE
-
Fields inherited from class jmri.jmrix.AbstractMessage
_dataChars, _nDataChars
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TamsMessage
getSource()
int
maxSize()
void
setSource(TamsMessage source)
protected int
skipPrefix(int index)
int
value()
-
Methods inherited from class jmri.jmrix.AbstractMRReply
flush, getOpCode, isBinary, isRetransmittableErrorMsg, isUnsolicited, match, pollValue, setBinary, setElement, setOpCode, setUnsolicited, skipWhiteSpace, toString
-
Methods inherited from class jmri.jmrix.AbstractMessage
equals, getElement, getNumDataElements, hashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jmri.jmrix.Message
toMonitorString
-
-
-
-
Method Detail
-
getSource
public TamsMessage getSource()
-
setSource
public void setSource(TamsMessage source)
-
maxSize
public int maxSize()
- Overrides:
maxSize
in classAbstractMRReply
-
skipPrefix
protected int skipPrefix(int index)
- Specified by:
skipPrefix
in classAbstractMRReply
-
value
public int value()
- Overrides:
value
in classAbstractMRReply
-
-