jmri.jmrix.powerline
Class SerialReply

java.lang.Object
  extended by jmri.jmrix.AbstractMessage
      extended by jmri.jmrix.AbstractMRReply
          extended by jmri.jmrix.powerline.SerialReply
All Implemented Interfaces:
Message
Direct Known Subclasses:
SpecificReply, SpecificReply, SpecificReply, SpecificReply

public abstract class SerialReply
extends AbstractMRReply

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

Author:
Bob Jacobsen Copyright (C) 2002, 2006, 2007, 2008 Converted to multiple connection, kcameron Copyright (C) 2011

Field Summary
 
Fields inherited from class jmri.jmrix.AbstractMRReply
DEFAULTMAXSIZE
 
Fields inherited from class jmri.jmrix.AbstractMessage
_dataChars, _nDataChars
 
Constructor Summary
SerialReply(SerialTrafficController tc)
           
SerialReply(SerialTrafficController tc, SerialReply l)
           
SerialReply(SerialTrafficController tc, String s)
           
 
Method Summary
 int getAddr()
          Is reply to poll message
protected  int skipPrefix(int index)
           
abstract  String toMonitorString()
           
 
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
getElement, getNumDataElements
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SerialReply

public SerialReply(SerialTrafficController tc)

SerialReply

public SerialReply(SerialTrafficController tc,
                   String s)

SerialReply

public SerialReply(SerialTrafficController tc,
                   SerialReply l)
Method Detail

getAddr

public int getAddr()
Is reply to poll message


skipPrefix

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

toMonitorString

public abstract String toMonitorString()


Copyright © 1997 - 2011 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: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads