Package jmri.jmrix.mrc
Interface MrcTrafficListener
- All Known Implementing Classes:
MrcClockControl,MrcMonPanel,MrcOpsModeProgrammer,MrcPowerManager,MrcProgrammer,MrcThrottle,MrcTurnout
public interface MrcTrafficListener
MrcTrafficListener provides the call-back interface for notification when a
new Mrc message arrives from the layout.
In contrast to MrcListener this interface defines separate methods to notify transmitted or received mrc messages. Further, the actual time stamp when a message was passed to the hardware interface or was first seen is provided. As most functions in JMRI do not depend on the actual time a message was sent or received, this interface may help in debugging communication. Based upon the LocoNet TrafficListener
-
Method Summary
Modifier and TypeMethodDescriptionvoidnotifyFailedXmit(Date timestamp, MrcMessage m) voidnotifyRcv(Date timestamp, MrcMessage m) voidnotifyXmit(Date timestamp, MrcMessage m)
-
Method Details
-
notifyXmit
-
notifyRcv
-
notifyFailedXmit
-