jmri.jmrix.loconet
Class LocoNetConsistManager

java.lang.Object
  extended by jmri.jmrix.AbstractConsistManager
      extended by jmri.jmrix.loconet.LocoNetConsistManager
All Implemented Interfaces:
ConsistManager

public class LocoNetConsistManager
extends AbstractConsistManager
implements ConsistManager


Field Summary
 
Fields inherited from class jmri.jmrix.AbstractConsistManager
consistList, consistTable
 
Constructor Summary
LocoNetConsistManager(LocoNetSystemConnectionMemo lm)
          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 LocoNetConsist with the given address to consistTable/consistList
 boolean csConsistNeedsSeperateAddress()
          Does a CS consist require a seperate consist address?
 boolean isCommandStationConsistPossible()
          This implementation does support command station assisted 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

LocoNetConsistManager

public LocoNetConsistManager(LocoNetSystemConnectionMemo lm)
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 command station assisted 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?

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

addConsist

public Consist addConsist(DccLocoAddress address)
Add a new LocoNetConsist 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