Package jmri.jmrix.loconet
Interface LocoNetListener
-
- All Superinterfaces:
java.util.EventListener
- All Known Implementing Classes:
AbstractBoardProgPanel
,BDL16Panel
,ClientRxHandler
,CmdStnConfigPane
,CsOpSwAccess
,Dcs210PlusUsbModeSelectPane
,Dcs240PlusUsbModeSelectPane
,Dcs240UsbModeSelectPane
,Dcs52UsbModeSelectPane
,Ds64TabbedPanel
,DuplexGroupScanPanel
,HexFileFrame
,Ln7gAccyRoutesManager
,LNCPSignalMast
,LncvDevicesManager
,LncvProgPane
,LnDplxGrpInfoImpl
,LnIPLImplementation
,LnMessageManager
,LnOpsModeProgrammer
,LnPowerManager
,LnPr2PowerManager
,LnPredefinedMeters
,LnReporterManager
,LnSensorManager
,LnSensorManager
,LnStringIOManager
,LnTrafficRouter
,LnTurnoutManager
,LocoGenPanel
,LocoIdPanel
,LocoIOData
,LocoMonPane
,LocoStatsFunc
,PM4Panel
,Pr3SelectPane
,Pr4SelectPane
,SE8cSignalHead
,SE8Panel
,SlotManager
,UhlenbrockSlotManager
,Z21LocoNetTunnel
,Z21XNetOpsModeProgrammer
public interface LocoNetListener extends java.util.EventListener
LocoNetListener provides the call-back interface for notification when a new LocoNet message arrives from the layout.Note that the LocoNetListener implementation cannot assume that messages will be returned in any particular thread. We may eventually revisit this, as returning messages in the Swing GUI thread would result in some simplification of client code. We've not done that yet because we're not sure that deadlocks can be avoided in that case.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
message(LocoNetMessage msg)
Member function that will be invoked by a LocoNetInterface implementation to forward a LocoNet message from the layout.
-
-
-
Method Detail
-
message
void message(LocoNetMessage msg)
Member function that will be invoked by a LocoNetInterface implementation to forward a LocoNet message from the layout.- Parameters:
msg
- The received LocoNet message. Note that this same object may be presented to multiple users. It should not be modified here.
-
-