Package jmri.jmrix.marklin
Class MarklinMessage
java.lang.Object
jmri.jmrix.AbstractMessage
jmri.jmrix.AbstractMRMessage
jmri.jmrix.marklin.MarklinMessage
- All Implemented Interfaces:
Message
public class MarklinMessage extends AbstractMRMessage
Encodes a message to a Marklin command station.
The MarklinReply
class handles the response from the command station.
-
Field Summary
Fields Modifier and Type Field Description (package private) static int
MY_UID
-
Constructor Summary
Constructors Constructor Description MarklinMessage()
MarklinMessage(byte[] d)
MarklinMessage(int i)
MarklinMessage(int[] d)
MarklinMessage(MarklinMessage m)
-
Method Summary
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
-
Field Details
-
Constructor Details
-
Method Details
-
getEnableMain
-
getKillMain
-
getSetTurnout
-
getQryLocoSpeed
-
setLocoSpeed
-
setLocoEmergencyStop
-
setLocoSpeedSteps
-
getQryLocoDirection
-
setLocoDirection
-
getQryLocoFunction
-
setLocoFunction
-
sensorPollMessage
-
getAddress
-
getProgMode
-
getExitProgMode
-
getReadPagedCV
-
getWritePagedCV
-
getReadRegister
-
getWriteRegister
-
getReadDirectCV
-
getWriteDirectCV
-