Package jmri.jmrix.roco.z21
Class Z21XNetThrottleManager
- java.lang.Object
-
- jmri.jmrix.AbstractThrottleManager
-
- jmri.jmrix.lenz.XNetThrottleManager
-
- jmri.jmrix.roco.RocoXNetThrottleManager
-
- jmri.jmrix.roco.z21.Z21XNetThrottleManager
-
- All Implemented Interfaces:
java.util.EventListener
,AbstractMRListener
,XNetListener
,ThrottleManager
public class Z21XNetThrottleManager extends RocoXNetThrottleManager
z21XNet implementation of a ThrottleManager based on the AbstractThrottleManager.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jmri.jmrix.AbstractThrottleManager
AbstractThrottleManager.Addresses
-
-
Field Summary
-
Fields inherited from class jmri.jmrix.lenz.XNetThrottleManager
tc, throttles
-
Fields inherited from class jmri.jmrix.AbstractThrottleManager
adapterMemo, userName
-
-
Constructor Summary
Constructors Constructor Description Z21XNetThrottleManager(XNetSystemConnectionMemo memo)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
requestThrottleSetup(LocoAddress address, boolean control)
Request a new throttle object be created for the address, and let the throttle listeners know about it.-
Methods inherited from class jmri.jmrix.lenz.XNetThrottleManager
addressTypeUnique, canBeLongAddress, canBeShortAddress, disposeThrottle, hasDispatchFunction, isLongAddress, message, message, notifyTimeout, singleUse, supportedSpeedModes
-
Methods inherited from class jmri.jmrix.AbstractThrottleManager
addressReleased, addressStillRequired, addressStillRequired, addressStillRequired, addressStillRequired, attachListener, cancelThrottleRequest, cancelThrottleRequest, cancelThrottleRequest, cancelThrottleRequest, dispatchThrottle, dispose, enablePrefSilentShareOption, enablePrefSilentStealOption, failedThrottleRequest, forceDisposeThrottle, getAddress, getAddress, getAddressProtocolTypes, getAddressTypes, getAddressTypeString, getProtocolFromString, getThrottleInfo, getThrottleUsageCount, getThrottleUsageCount, getThrottleUsageCount, getThrottleUsageCount, getUserName, hideStealNotifications, makeHardwareDecision, notifyDecisionRequest, notifyThrottleKnown, releaseThrottle, removeListener, requestThrottle, requestThrottle, requestThrottle, requestThrottle, requestThrottle, requestThrottle, requestThrottleSetup, responseThrottleDecision, responseThrottleDecision, responseThrottleDecision, showSessionCancelDialogue, updateNumUsers
-
-
-
-
Constructor Detail
-
Z21XNetThrottleManager
public Z21XNetThrottleManager(XNetSystemConnectionMemo memo)
Constructor.- Parameters:
memo
- system connection.
-
-
Method Detail
-
requestThrottleSetup
public void requestThrottleSetup(LocoAddress address, boolean control)
Request a new throttle object be created for the address, and let the throttle listeners know about it.- Overrides:
requestThrottleSetup
in classRocoXNetThrottleManager
- Parameters:
address
- addresscontrol
- false - read only.
-
-