jmri
Class DccConsistManager

java.lang.Object
  extended by jmri.DccConsistManager
All Implemented Interfaces:
ConsistManager

public class DccConsistManager
extends Object
implements ConsistManager


Constructor Summary
DccConsistManager()
           
 
Method Summary
 boolean csConsistNeedsSeperateAddress()
          Does a CS consist require a seperate consist address?
 String decodeErrorCode(int ErrorCode)
          Translate Error Codes recieved by a consistListener into Strings
 void delConsist(DccLocoAddress address)
          Remove an old Consist
 Consist getConsist(DccLocoAddress address)
          Find a Consist with this consist address, and return it.
 ArrayList getConsistList()
          Return the list of consists we know about.
 boolean isCommandStationConsistPossible()
          This implementation does NOT support Command Station consists, so return false.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DccConsistManager

public DccConsistManager()
Method Detail

getConsist

public Consist getConsist(DccLocoAddress address)
Find a Consist with this consist address, and return it.

Specified by:
getConsist in interface ConsistManager

delConsist

public void delConsist(DccLocoAddress address)
Description copied from interface: ConsistManager
Remove an old Consist

Specified by:
delConsist in interface ConsistManager

isCommandStationConsistPossible

public boolean isCommandStationConsistPossible()
This implementation does NOT support Command Station consists, so return false.

Specified by:
isCommandStationConsistPossible in interface ConsistManager

csConsistNeedsSeperateAddress

public boolean csConsistNeedsSeperateAddress()
Does a CS consist require a seperate consist address? This implemenation does not support Command Station consists, so return false

Specified by:
csConsistNeedsSeperateAddress in interface ConsistManager

getConsistList

public ArrayList getConsistList()
Return the list of consists we know about.

Specified by:
getConsistList in interface ConsistManager

decodeErrorCode

public String decodeErrorCode(int ErrorCode)
Description copied from interface: ConsistManager
Translate Error Codes recieved by a consistListener into Strings

Specified by:
decodeErrorCode in interface ConsistManager


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