Package jmri.jmrix.jmriclient
Class JMRIClientReply
java.lang.Object
jmri.jmrix.AbstractMessage
jmri.jmrix.AbstractMRReply
jmri.jmrix.jmriclient.JMRIClientReply
- All Implemented Interfaces:
Message
Carries the reply to an JMRIClientMessage.
-
Field Summary
Fields inherited from class jmri.jmrix.AbstractMRReply
DEFAULTMAXSIZEFields inherited from class jmri.jmrix.AbstractMessage
_dataChars, _nDataChars -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanGet flag for Unsolicited.protected intskipPrefix(int index) intvalue()Extracts Read-CV returned value from a message.Methods inherited from class jmri.jmrix.AbstractMRReply
flush, getOpCode, isBinary, isRetransmittableErrorMsg, match, maxSize, pollValue, setBinary, setElement, setOpCode, setUnsolicited, skipWhiteSpace, toStringMethods inherited from class jmri.jmrix.AbstractMessage
equals, getElement, getNumDataElements, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface jmri.jmrix.Message
toMonitorString
-
Constructor Details
-
JMRIClientReply
public JMRIClientReply() -
JMRIClientReply
-
JMRIClientReply
-
-
Method Details
-
isResponseOK
-
getResponseCode
-
skipPrefix
- Specified by:
skipPrefixin classAbstractMRReply
-
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:
valuein classAbstractMRReply
-
isUnsolicited
Description copied from class:AbstractMRReplyGet flag for Unsolicited.- Overrides:
isUnsolicitedin classAbstractMRReply- Returns:
- true if Unsolicited, else false.
-