Class CbusNodeFromBackup.DoNothingCanListener

java.lang.Object
jmri.jmrix.can.cbus.node.CbusNodeCanListener
jmri.jmrix.can.cbus.node.CbusNodeFromBackup.DoNothingCanListener
All Implemented Interfaces:
EventListener, AbstractMRListener, CanListener
Enclosing class:
CbusNodeFromBackup

Ignores Incoming and Outgoing CAN Frames.
  • Constructor Details

  • Method Details

    • message

      public void message(CanMessage m)
      Ignores outgoing CAN Frames. Processes certain outgoing CAN Frames.

      We don't know if it's this JMRI instance or something external teaching the node so we monitor them the same Called when an outgoing message is sent to the CAN Network.

      Specified by:
      message in interface CanListener
      Overrides:
      message in class CbusNodeCanListener
      Parameters:
      m - the CanMessage being sent.
    • reply

      public void reply(CanReply m)
      Ignores incoming CAN Frames. Processes all incoming and certain outgoing CAN Frames Called when an incoming CanFrame is received from the CAN Network.
      Specified by:
      reply in interface CanListener
      Overrides:
      reply in class CbusNodeCanListener
      Parameters:
      m - the CanReply being received.