Class LnPredefinedMeters

java.lang.Object
jmri.jmrix.loconet.LnPredefinedMeters
All Implemented Interfaces:
EventListener, Disposable, LocoNetListener

public class LnPredefinedMeters extends Object implements LocoNetListener, Disposable
Provide access to current and voltage meter from some LocoNet command stations
  • Constructor Details

  • Method Details

    • message

      public void message(LocoNetMessage msg)
      Description copied from interface: LocoNetListener
      Member function that will be invoked by a LocoNetInterface implementation to forward a LocoNet message from the layout.
      Specified by:
      message in interface LocoNetListener
      Parameters:
      msg - The received LocoNet message. Note that this same object may be presented to multiple users. It should not be modified here.
    • dispose

      public void dispose()
      Dispose of the instance. Removes TC Listener. Disposes initialization task and individual update tasks.
      Specified by:
      dispose in interface Disposable
    • requestUpdateFromLayout

      public void requestUpdateFromLayout()