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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
notifyFailedXmit(java.util.Date timestamp, MrcMessage m)
void
notifyRcv(java.util.Date timestamp, MrcMessage m)
void
notifyXmit(java.util.Date timestamp, MrcMessage m)
-
-
-
Method Detail
-
notifyXmit
void notifyXmit(java.util.Date timestamp, MrcMessage m)
-
notifyRcv
void notifyRcv(java.util.Date timestamp, MrcMessage m)
-
notifyFailedXmit
void notifyFailedXmit(java.util.Date timestamp, MrcMessage m)
-
-