Package jmri.jmrix.roco
Class RocoXNetThrottleManager
- java.lang.Object
-
- jmri.jmrix.AbstractThrottleManager
-
- jmri.jmrix.lenz.XNetThrottleManager
-
- jmri.jmrix.roco.RocoXNetThrottleManager
-
- All Implemented Interfaces:
java.util.EventListener
,AbstractMRListener
,XNetListener
,ThrottleManager
- Direct Known Subclasses:
Z21XNetThrottleManager
public class RocoXNetThrottleManager extends XNetThrottleManager
Roco XNet 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 RocoXNetThrottleManager(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
-
RocoXNetThrottleManager
public RocoXNetThrottleManager(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 classXNetThrottleManager
- Parameters:
address
- addresscontrol
- false - read only.
-
-