jmri.jmrix.jmriclient
Class JMRIClientReply
java.lang.Object
jmri.jmrix.AbstractMessage
jmri.jmrix.AbstractMRReply
jmri.jmrix.jmriclient.JMRIClientReply
- All Implemented Interfaces:
- Message
public class JMRIClientReply
- extends AbstractMRReply
Carries the reply to an JMRIClientMessage.
- Author:
- Bob Jacobsen Copyright (C) 2001, 2004, 2008
| Methods inherited from class jmri.jmrix.AbstractMRReply |
flush, getOpCode, isBinary, isRetransmittableErrorMsg, match, maxSize, pollValue, setBinary, setElement, setOpCode, setUnsolicited, skipWhiteSpace, toString |
JMRIClientReply
public JMRIClientReply()
JMRIClientReply
public JMRIClientReply(String s)
JMRIClientReply
public JMRIClientReply(JMRIClientReply l)
isResponseOK
public boolean isResponseOK()
getResponseCode
public String getResponseCode()
skipPrefix
protected int skipPrefix(int index)
- Specified by:
skipPrefix in class AbstractMRReply
value
public int value()
- Extracts Read-CV returned value from a message.
Returns -1 if message can't be parsed.
Expects a message of the form
1264343601.156 100 INFO 1 SM -1 CV 8 99
- Overrides:
value in class AbstractMRReply
isUnsolicited
public boolean isUnsolicited()
- Overrides:
isUnsolicited in class AbstractMRReply
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: