jmri.jmrit.withrottle
Class ConsistFunctionController
java.lang.Object
jmri.jmrit.withrottle.ConsistFunctionController
- All Implemented Interfaces:
- EventListener, ThrottleListener
public class ConsistFunctionController
- extends Object
- implements ThrottleListener
- Author:
- Brett Hoffman Copyright (C) 2010, 2011
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConsistFunctionController
public ConsistFunctionController(ThrottleController tc)
ConsistFunctionController
public ConsistFunctionController(ThrottleController tc,
RosterEntry re)
notifyThrottleFound
public void notifyThrottleFound(DccThrottle t)
- Description copied from interface:
ThrottleListener
- Get notification that a throttle has been found as you requested.
- Specified by:
notifyThrottleFound in interface ThrottleListener
- Parameters:
t - An instantiation of the DccThrottle with the address requested.
notifyFailedThrottleRequest
public void notifyFailedThrottleRequest(DccLocoAddress address,
String reason)
- Description copied from interface:
ThrottleListener
- Get notification that an attempt to request a throttle has failed
- Specified by:
notifyFailedThrottleRequest in interface ThrottleListener
- Parameters:
address - DccLocoAddress of the failed loco request.reason - The reason why the throttle request failed.
dispose
public void dispose()
getThrottle
public DccThrottle getThrottle()
Copyright © 1997 - 2011 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.
Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: