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.
- Author:
- Bob Jacobsen Copyright (C) 2007
|
Method Summary |
void |
sendPacket(byte[] packet,
int repeats)
Send a specific packet to the rails. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EasyDccCommandStation
public EasyDccCommandStation()
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
Copyright © 1997 - 2011 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: