Package jmri.implementation
Class DccConsistManager
java.lang.Object
jmri.implementation.AbstractConsistManager
jmri.implementation.DccConsistManager
- All Implemented Interfaces:
ConsistManager
The Default Consist Manager which uses the DccConsist class for
the consists it builds. This implementation just tracks the
consist via a table of
DccConsist objects
that handle the actual operations.-
Nested Class Summary
Nested classes/interfaces inherited from interface jmri.ConsistManager
ConsistManager.EnableListener -
Field Summary
Fields inherited from class jmri.implementation.AbstractConsistManager
consistTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConsist(LocoAddress address) Add a new Consist with the given address.booleanDoes a CS consist require a separate consist address?booleanThis implementation does NOT support Command Station consists, so return false.Methods inherited from class jmri.implementation.AbstractConsistManager
addConsistListListener, decodeErrorCode, delConsist, getConsist, getConsistList, notifyConsistListChanged, removeConsistListListener, requestUpdateFromLayout, shouldRequestUpdateFromLayoutMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jmri.ConsistManager
canBeDisabled, isAdvancedConsistPossible, isEnabled, isSingleFormConsistRequired, registerEnableListener, unregisterEnableListener
-
Constructor Details
-
DccConsistManager
-
-
Method Details
-
addConsist
Description copied from class:AbstractConsistManagerAdd a new Consist with the given address.- Specified by:
addConsistin classAbstractConsistManager- Parameters:
address- consist address- Returns:
- a consist at address; this will be the existing consist if a consist is already known to exist at address
-
isCommandStationConsistPossible
This implementation does NOT support Command Station consists, so return false.- Returns:
- true if command station consists are supported; false otherwise
-
csConsistNeedsSeperateAddress
Does a CS consist require a separate consist address? This implementation does not support Command Station consists, so return false- Returns:
- true is command station consist requires separate address; false otherwise
-