|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CommandStation
Represents a DCC command station.
System-specific implementations can be obtained via the InstanceManager class.
JMRI is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. See the "COPYING" file for a copy of this license.
JMRI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
| Method Summary | |
|---|---|
String |
getSystemPrefix()
|
String |
getUserName()
|
void |
sendPacket(byte[] packet,
int repeats)
Send a specific packet to the rails. |
| Method Detail |
|---|
void sendPacket(byte[] packet,
int repeats)
packet - Byte array representing the packet, including
the error-correction byte. Must not be null.repeats - Number of times to repeat the transmission.String getUserName()
String getSystemPrefix()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||