jmri.jmrix.lenz
Class XNetConsistManager
java.lang.Object
jmri.jmrix.AbstractConsistManager
jmri.jmrix.lenz.XNetConsistManager
- All Implemented Interfaces:
- ConsistManager
public final class XNetConsistManager
- extends AbstractConsistManager
- implements ConsistManager
Consist Manager for use with the
XNetConsist class for the consists it builds
- Author:
- Paul Bender Copyright (C) 2004-2010
|
Constructor Summary |
XNetConsistManager(XNetSystemConnectionMemo systemMemo)
Constructor - call the constructor for the superclass, and
initilize the consist reader thread, which retrieves consist
information from the command station |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tc
protected XNetTrafficController tc
XNetConsistManager
public XNetConsistManager(XNetSystemConnectionMemo systemMemo)
- Constructor - call the constructor for the superclass, and
initilize the consist reader thread, which retrieves consist
information from the command station
isCommandStationConsistPossible
public boolean isCommandStationConsistPossible()
- This implementation does command station 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 command station, so
no consist address is needed, so return false
- Specified by:
csConsistNeedsSeperateAddress in interface ConsistManager- Specified by:
csConsistNeedsSeperateAddress in class AbstractConsistManager
addConsist
public Consist addConsist(DccLocoAddress address)
- Add a new XNetConsist 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: