Package jmri.jmrix.easydcc
Class EasyDccCommandStation
java.lang.Object
jmri.jmrix.easydcc.EasyDccCommandStation
- All Implemented Interfaces:
CommandStation
EasyDCC implementation of the CommandStation interface.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleansendPacket(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, waitMethods inherited from interface jmri.CommandStation
sendAccSignalDecoderPkt, sendAltAccSignalDecoderPkt
-
Field Details
-
memo
-
-
Constructor Details
-
EasyDccCommandStation
-
-
Method Details
-
sendPacket
Send a specific packet to the rails.- Specified by:
sendPacketin interfaceCommandStation- 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- Returns:
trueif the operation succeeds,falseotherwise.
-
getUserName
- Specified by:
getUserNamein interfaceCommandStation
-
getSystemPrefix
- Specified by:
getSystemPrefixin interfaceCommandStation
-