jmri.jmrix.easydcc
Class EasyDccConsistManager

java.lang.Object
  extended by jmri.jmrix.AbstractConsistManager
      extended by jmri.jmrix.easydcc.EasyDccConsistManager
All Implemented Interfaces:
ConsistManager

public class EasyDccConsistManager
extends AbstractConsistManager
implements ConsistManager


Field Summary
 
Fields inherited from class jmri.jmrix.AbstractConsistManager
consistList, consistTable
 
Constructor Summary
EasyDccConsistManager()
          Constructor - call the constructor for the superclass, and initilize the consist reader thread, which retrieves consist information from the command station
 
Method Summary
 Consist addConsist(DccLocoAddress address)
          Add a new EasyDccConsist with the given address to consistTable/consistList
 boolean csConsistNeedsSeperateAddress()
          Does a CS consist require a seperate consist address?
 boolean isCommandStationConsistPossible()
          This implementation does support andvanced consists, so return true.
 
Methods inherited from class jmri.jmrix.AbstractConsistManager
decodeErrorCode, delConsist, getConsist, getConsistList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jmri.ConsistManager
decodeErrorCode, delConsist, getConsist, getConsistList
 

Constructor Detail

EasyDccConsistManager

public EasyDccConsistManager()
Constructor - call the constructor for the superclass, and initilize the consist reader thread, which retrieves consist information from the command station

Method Detail

isCommandStationConsistPossible

public boolean isCommandStationConsistPossible()
This implementation does support andvanced consists, so return true.

Specified by:
isCommandStationConsistPossible in interface ConsistManager
Specified by:
isCommandStationConsistPossible in class AbstractConsistManager

csConsistNeedsSeperateAddress

public boolean csConsistNeedsSeperateAddress()
Does a CS consist require a seperate consist address? CS consist addresses are assigned by the user, so return true.

Specified by:
csConsistNeedsSeperateAddress in interface ConsistManager
Specified by:
csConsistNeedsSeperateAddress in class AbstractConsistManager

addConsist

public Consist addConsist(DccLocoAddress address)
Add a new EasyDccConsist with the given address to consistTable/consistList

Specified by:
addConsist in class AbstractConsistManager


Copyright © 1997 - 2011 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