Package jmri.jmrix.loconet
Class Ib1ThrottleManager
- java.lang.Object
-
- jmri.jmrix.AbstractThrottleManager
-
- jmri.jmrix.loconet.LnThrottleManager
-
- jmri.jmrix.loconet.Ib1ThrottleManager
-
- All Implemented Interfaces:
java.util.EventListener
,SlotListener
,ThrottleManager
public class Ib1ThrottleManager extends LnThrottleManager
Specialization of a ThrottleManager for the Intellibox.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jmri.jmrix.loconet.LnThrottleManager
LnThrottleManager.ThrottleRequest
-
Nested classes/interfaces inherited from class jmri.jmrix.AbstractThrottleManager
AbstractThrottleManager.Addresses
-
-
Field Summary
-
Fields inherited from class jmri.jmrix.loconet.LnThrottleManager
requestList, requestOutstanding, retrySetupThread, slotForAddress, slotManager, tc, throttleID, waitingForNotification
-
Fields inherited from class jmri.jmrix.AbstractThrottleManager
adapterMemo, userName
-
-
Constructor Summary
Constructors Constructor Description Ib1ThrottleManager(LocoNetSystemConnectionMemo memo)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) DccThrottle
createThrottle(LocoNetSystemConnectionMemo memo, LocoNetSlot s)
Create a LocoNet Throttle to control a loco.-
Methods inherited from class jmri.jmrix.loconet.LnThrottleManager
addressTypeUnique, canBeLongAddress, canBeShortAddress, cancelThrottleRequest, dispatchThrottle, dispose, disposeThrottle, enablePrefSilentStealOption, failedThrottleRequest, getThrottleID, hasDispatchFunction, isLongAddress, notifyChangedSlot, notifyComplete, notifyRefused, notifyStealRequest, processQueuedThrottleSetupRequest, releaseThrottle, requestThrottleSetup, responseThrottleDecision, singleUse, supportedSpeedModes
-
Methods inherited from class jmri.jmrix.AbstractThrottleManager
addressReleased, addressStillRequired, addressStillRequired, addressStillRequired, addressStillRequired, attachListener, cancelThrottleRequest, cancelThrottleRequest, cancelThrottleRequest, enablePrefSilentShareOption, forceDisposeThrottle, getAddress, getAddress, getAddressProtocolTypes, getAddressTypes, getAddressTypeString, getProtocolFromString, getThrottleInfo, getThrottleUsageCount, getThrottleUsageCount, getThrottleUsageCount, getThrottleUsageCount, getUserName, hideStealNotifications, makeHardwareDecision, notifyDecisionRequest, notifyThrottleKnown, removeListener, requestThrottle, requestThrottle, requestThrottle, requestThrottle, requestThrottle, requestThrottle, requestThrottleSetup, responseThrottleDecision, responseThrottleDecision, showSessionCancelDialogue, updateNumUsers
-
-
-
-
Constructor Detail
-
Ib1ThrottleManager
public Ib1ThrottleManager(LocoNetSystemConnectionMemo memo)
Constructor.- Parameters:
memo
- system connection.
-
-
Method Detail
-
createThrottle
DccThrottle createThrottle(LocoNetSystemConnectionMemo memo, LocoNetSlot s)
Description copied from class:LnThrottleManager
Create a LocoNet Throttle to control a loco.This is called during the loco acquisition process by logic within LnThrottleManager. Generally, it should not be directly called by other methods.
- Overrides:
createThrottle
in classLnThrottleManager
- Parameters:
memo
- connection memo used by the throttle for communicationss
- slot holding an acquired loco- Returns:
- throttle holding an acquired loco
-
-