Package jmri.jmrix.jmriclient
Class JMRIClientMessage
- java.lang.Object
-
- jmri.jmrix.AbstractMessage
-
- jmri.jmrix.AbstractMRMessage
-
- jmri.jmrix.jmriclient.JMRIClientMessage
-
- All Implemented Interfaces:
Message
public class JMRIClientMessage extends AbstractMRMessage
Encodes a message to an JMRIClient server. The JMRIClientReply class handles the response from the server.The
JMRIClientReply
class handles the response from the server.
-
-
Field Summary
Fields Modifier and Type Field Description protected static int
LONG_TIMEOUT
-
Fields inherited from class jmri.jmrix.AbstractMRMessage
SHORT_TIMEOUT
-
Fields inherited from class jmri.jmrix.AbstractMessage
_dataChars, _nDataChars
-
-
Constructor Summary
Constructors Constructor Description JMRIClientMessage()
JMRIClientMessage(int i)
JMRIClientMessage(java.lang.String m)
JMRIClientMessage(JMRIClientMessage m)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JMRIClientMessage
getEnableMain()
static JMRIClientMessage
getExitProgMode()
static JMRIClientMessage
getKillMain()
static JMRIClientMessage
getProgMode()
boolean
isEnableMain()
boolean
isKillMain()
-
Methods inherited from class jmri.jmrix.AbstractMRMessage
addIntAsFourHex, addIntAsThree, addIntAsThreeHex, addIntAsTwoHex, getNeededMode, getOpCode, getOpCodeHex, getRetries, getTimeout, isBinary, replyExpected, setBinary, setNeededMode, setOpCode, setRetries, setTimeout, toString
-
Methods inherited from class jmri.jmrix.AbstractMessage
equals, getElement, getNumDataElements, hashCode, setElement
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jmri.jmrix.Message
toMonitorString
-
-
-
-
Field Detail
-
LONG_TIMEOUT
protected static final int LONG_TIMEOUT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
JMRIClientMessage
public JMRIClientMessage()
-
JMRIClientMessage
public JMRIClientMessage(int i)
-
JMRIClientMessage
public JMRIClientMessage(JMRIClientMessage m)
-
JMRIClientMessage
public JMRIClientMessage(java.lang.String m)
-
-
Method Detail
-
isKillMain
public boolean isKillMain()
-
isEnableMain
public boolean isEnableMain()
-
getEnableMain
public static JMRIClientMessage getEnableMain()
-
getKillMain
public static JMRIClientMessage getKillMain()
-
getProgMode
public static JMRIClientMessage getProgMode()
-
getExitProgMode
public static JMRIClientMessage getExitProgMode()
-
-