Package jmri.jmrix.roco.z21
Interface Z21Listener
- All Superinterfaces:
AbstractMRListener,EventListener
- All Known Implementing Classes:
Z21CanReporter,Z21CanSensor,Z21ConfigFrame,Z21HeartBeat,Z21LocoNetTunnel,Z21MonPane,Z21Reporter,Z21ReporterManager,Z21RMBusSensor,Z21SensorManager,Z21XPressNetTunnel
Interface for Z21 protocol Listeners
-
Method Summary
Modifier and TypeMethodDescriptionvoidmessage(Z21Message msg) Member function that will be invoked by a z21Interface implementation to forward a z21 message sent to the layout.voidMember function that will be invoked by a z21Interface implementation to forward a z21 message from the layout.
-
Method Details
-
reply
Member function that will be invoked by a z21Interface implementation to forward a z21 message from the layout.- Parameters:
msg- The received z21 reply. Note that this same object may be presented to multiple users. It should not be modified here.
-
message
Member function that will be invoked by a z21Interface implementation to forward a z21 message sent to the layout. Normally, this function will do nothing.- Parameters:
msg- The received z21 message. Note that this same object may be presented to multiple users. It should not be modified here.
-