jmri.jmrix.tmcc
Class SerialReply

java.lang.Object
  extended by jmri.jmrix.AbstractMessage
      extended by jmri.jmrix.AbstractMRReply
          extended by jmri.jmrix.tmcc.SerialReply
All Implemented Interfaces:
Message

public class SerialReply
extends AbstractMRReply

Contains the data payload of a TMCC serial reply packet. Note that _only_ the payload.

Author:
Bob Jacobsen Copyright (C) 2002, 2006

Field Summary
 
Fields inherited from class jmri.jmrix.AbstractMRReply
DEFAULTMAXSIZE
 
Fields inherited from class jmri.jmrix.AbstractMessage
_dataChars, _nDataChars
 
Constructor Summary
SerialReply()
           
SerialReply(SerialReply l)
           
SerialReply(String s)
           
 
Method Summary
 int getAsWord()
           
protected  int skipPrefix(int index)
           
 String toString()
           
 
Methods inherited from class jmri.jmrix.AbstractMRReply
flush, getOpCode, isBinary, isUnsolicited, match, maxSize, pollValue, setBinary, setElement, setOpCode, setUnsolicited, skipWhiteSpace, value
 
Methods inherited from class jmri.jmrix.AbstractMessage
getElement, getNumDataElements
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SerialReply

public SerialReply()

SerialReply

public SerialReply(String s)

SerialReply

public SerialReply(SerialReply l)
Method Detail

toString

public String toString()
Specified by:
toString in interface Message
Overrides:
toString in class AbstractMRReply

getAsWord

public int getAsWord()

skipPrefix

protected int skipPrefix(int index)
Specified by:
skipPrefix in class AbstractMRReply


Copyright © 1997 - 2008 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.

Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: SourceForge_Logo