jmri.jmrix.easydcc
Class EasyDccCommandStation
java.lang.Object
jmri.jmrix.easydcc.EasyDccCommandStation
- All Implemented Interfaces:
- CommandStation
public class EasyDccCommandStation
- extends Object
- implements CommandStation
EasyDcc implementation of the CommandStation interface.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
memo
EasyDccSystemConnectionMemo memo
log
static org.slf4j.Logger log
EasyDccCommandStation
public EasyDccCommandStation(EasyDccSystemConnectionMemo memo)
sendPacket
public void sendPacket(byte[] packet,
int repeats)
- Send a specific packet to the rails.
- Specified by:
sendPacket in interface CommandStation
- Parameters:
packet - Byte array representing the packet, including
the error-correction byte. Must not be null.repeats - Number of times to repeat the transmission,
capped at 9
getUserName
public String getUserName()
- Specified by:
getUserName in interface CommandStation
getSystemPrefix
public String getSystemPrefix()
- Specified by:
getSystemPrefix in interface CommandStation
Copyright © 1997-2013 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: