jmri.jmrix.sprog
Class SprogCommandStation

java.lang.Object
  extended by jmri.jmrix.sprog.SprogCommandStation
All Implemented Interfaces:
CommandStation
Direct Known Subclasses:
SprogSlotManager

public class SprogCommandStation
extends Object
implements CommandStation

Implement CommandStation for SPROG communications.

Author:
Bob Jacobsen Copyright (C) 2003

Constructor Summary
SprogCommandStation()
           
 
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
 

Constructor Detail

SprogCommandStation

public SprogCommandStation()
Method Detail

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, but is ignored in the current implementation


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