Package jmri.jmrit.withrottle
Class WiFiConsistManager
java.lang.Object
jmri.implementation.AbstractConsistManager
jmri.implementation.NmraConsistManager
jmri.jmrit.withrottle.WiFiConsistManager
- All Implemented Interfaces:
ConsistManager
-
Nested Class Summary
Nested classes/interfaces inherited from interface jmri.ConsistManager
ConsistManager.EnableListener -
Field Summary
FieldsModifier and TypeFieldDescription(package private) boolean(package private) ArrayList<ControllerInterface>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.voidaddControllerListener(ControllerInterface listener) Add a listener to handle: listener.sendPacketToDevice(message);booleanCheck to see if an address will try to broadcast (0) a programming message.voidremoveControllerListener(ControllerInterface listener) Methods inherited from class jmri.implementation.NmraConsistManager
csConsistNeedsSeperateAddress, isCommandStationConsistPossibleMethods 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
-
Field Details
-
listeners
-
isValid
boolean isValid
-
-
Constructor Details
-
WiFiConsistManager
public WiFiConsistManager()
-
-
Method Details
-
checkForBroadcastAddress
Check to see if an address will try to broadcast (0) a programming message.- Parameters:
addr- The address to check- Returns:
- true if address is no good, otherwise false
-
addConsist
Description copied from class:AbstractConsistManagerAdd a new Consist with the given address.- Overrides:
addConsistin classNmraConsistManager- 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
-
addControllerListener
Add a listener to handle: listener.sendPacketToDevice(message);- Parameters:
listener- the listener to add.
-
removeControllerListener
-