jmri
Interface CommandStation

All Known Implementing Classes:
EasyDccCommandStation, EcosTrafficController, HornbyEliteCommandStation, LenzCommandStation, NceTrafficController, SlotManager, SprogCommandStation, SprogSlotManager, SRCPCommandStation, 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.

Author:
Bob Jacobsen Copyright (C) 2003

Method Summary
 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.


Copyright © 1997 - 2008 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: SourceForge_Logo