jmri.jmrix.srcp
Class SRCPMessage
java.lang.Object
jmri.jmrix.AbstractMessage
jmri.jmrix.AbstractMRMessage
jmri.jmrix.srcp.SRCPMessage
- All Implemented Interfaces:
- Message
public class SRCPMessage
- extends AbstractMRMessage
Encodes a message to an SRCP server. The SRCPReply
class handles the response from the command station.
The SRCPReply
class handles the response from the command station.
- Author:
- Bob Jacobsen Copyright (C) 2001, 2004, 2008
| Methods inherited from class jmri.jmrix.AbstractMRMessage |
addIntAsFourHex, addIntAsThree, addIntAsThreeHex, addIntAsTwoHex, getNeededMode, getOpCode, getOpCodeHex, getRetries, getTimeout, isBinary, replyExpected, setBinary, setNeededMode, setOpCode, setRetries, setTimeout, toString |
LONG_TIMEOUT
protected static int LONG_TIMEOUT
SRCPMessage
public SRCPMessage()
SRCPMessage
public SRCPMessage(int i)
SRCPMessage
public SRCPMessage(SRCPMessage m)
SRCPMessage
public SRCPMessage(String m)
isKillMain
public boolean isKillMain()
isEnableMain
public boolean isEnableMain()
getEnableMain
public static SRCPMessage getEnableMain()
getKillMain
public static SRCPMessage getKillMain()
getAddConsistNormal
public static SRCPMessage getAddConsistNormal(int ConsistAddress,
DccLocoAddress LocoAddress)
getAddConsistReverse
public static SRCPMessage getAddConsistReverse(int ConsistAddress,
DccLocoAddress LocoAddress)
getSubtractConsist
public static SRCPMessage getSubtractConsist(int ConsistAddress,
DccLocoAddress LocoAddress)
getKillConsist
public static SRCPMessage getKillConsist(int ConsistAddress)
getDisplayConsist
public static SRCPMessage getDisplayConsist(int ConsistAddress)
getProgMode
public static SRCPMessage getProgMode()
getExitProgMode
public static SRCPMessage getExitProgMode()
getReadPagedCV
public static SRCPMessage getReadPagedCV(int cv)
getWritePagedCV
public static SRCPMessage getWritePagedCV(int cv,
int val)
getReadRegister
public static SRCPMessage getReadRegister(int reg)
getWriteRegister
public static SRCPMessage getWriteRegister(int reg,
int val)
Copyright © 1997 - 2008 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: