jmri
Interface CommandStation

Show UML class diagram
All Known Implementing Classes:
CbusCommandStation, Dcc4PcTrafficController, EasyDccCommandStation, EcosTrafficController, HornbyEliteCommandStation, LenzCommandStation, MarklinTrafficController, NceTrafficController, SlotManager, SprogCommandStation, SRCPCommandStation, TamsTrafficController, TrafficController

public interface CommandStation

Represents a DCC command station.

System-specific implementations can be obtained via the InstanceManager class.


This file is part of JMRI.

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

sendPacket

void sendPacket(byte[] packet,
                int repeats)
Send a specific packet to the rails.

Parameters:
packet - Byte array representing the packet, including the error-correction byte. Must not be null.
repeats - Number of times to repeat the transmission.

getUserName

String getUserName()

getSystemPrefix

String getSystemPrefix()


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: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads