Package jmri.jmrix.ecos
Class EcosMessage
- java.lang.Object
-
- jmri.jmrix.AbstractMessage
-
- jmri.jmrix.AbstractMRMessage
-
- jmri.jmrix.ecos.EcosMessage
-
- All Implemented Interfaces:
Message
public class EcosMessage extends AbstractMRMessage
Encodes a message to an Ecos command station.The
EcosReply
class handles the response from the command station.
-
-
Field Summary
-
Fields inherited from class jmri.jmrix.AbstractMRMessage
LONG_TIMEOUT, SHORT_TIMEOUT
-
Fields inherited from class jmri.jmrix.AbstractMessage
_dataChars, _nDataChars
-
-
Constructor Summary
Constructors Constructor Description EcosMessage()
EcosMessage(int i)
EcosMessage(java.lang.String m)
EcosMessage(EcosMessage m)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EcosMessage
getExitProgMode()
static EcosMessage
getProgMode()
-
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
-
-
-
-
Constructor Detail
-
EcosMessage
public EcosMessage()
-
EcosMessage
public EcosMessage(int i)
-
EcosMessage
public EcosMessage(EcosMessage m)
-
EcosMessage
public EcosMessage(java.lang.String m)
-
-
Method Detail
-
getProgMode
public static EcosMessage getProgMode()
-
getExitProgMode
public static EcosMessage getExitProgMode()
-
-