Package jmri.jmrix.can.cbus.node
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.
-
Field Summary
Fields inherited from class jmri.jmrix.can.cbus.node.CbusNodeCanListener
memo -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidIgnores outgoing CAN Frames.voidIgnores incoming CAN Frames.Methods inherited from class jmri.jmrix.can.cbus.node.CbusNodeCanListener
dispose, setParamsFromSetupMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jmri.jmrix.can.CanListener
addTc, addTc, removeTc, removeTc
-
Constructor Details
-
DoNothingCanListener
public DoNothingCanListener()
-
-
Method Details
-
message
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:
messagein interfaceCanListener- Overrides:
messagein classCbusNodeCanListener- Parameters:
m- the CanMessage being sent.
-
reply
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:
replyin interfaceCanListener- Overrides:
replyin classCbusNodeCanListener- Parameters:
m- the CanReply being received.
-