Package jmri.jmrix.roco.z21
Interface Z21Listener
-
- All Superinterfaces:
AbstractMRListener
,java.util.EventListener
- All Known Implementing Classes:
Z21CanReporter
,Z21CanSensor
,Z21ConfigFrame
,Z21HeartBeat
,Z21LocoNetTunnel
,Z21MonPane
,Z21Reporter
,Z21ReporterManager
,Z21RMBusSensor
,Z21SensorManager
,Z21XPressNetTunnel
public interface Z21Listener extends AbstractMRListener
Interface for Z21 protocol Listeners
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
message(Z21Message msg)
Member function that will be invoked by a z21Interface implementation to forward a z21 message sent to the layout.void
reply(Z21Reply msg)
Member function that will be invoked by a z21Interface implementation to forward a z21 message from the layout.
-
-
-
Method Detail
-
reply
void reply(Z21Reply msg)
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
void message(Z21Message msg)
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.
-
-