Package jmri.jmrix.loconet
Class LnMessageManager
java.lang.Object
jmri.jmrix.loconet.LnMessageManager
- All Implemented Interfaces:
EventListener,LocoNetListener
Provide access to throttle-messaging on a LocoNet.
Some of the message formats used in this class are Copyright Digitrax, Inc. and used with permission as part of the JMRI project. That permission does not extend to uses in other software products. If you wish to use this code, algorithm or these message formats outside of JMRI, please contact Digitrax Inc for separate permission.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()Free resources when no longer used.voidListen for status changes from LocoNet.voidsendMessage(int id, String text) voidsendMessage(String text)
-
Field Details
-
tc
-
-
Constructor Details
-
LnMessageManager
-
-
Method Details
-
sendMessage
-
sendMessage
-
dispose
Free resources when no longer used. -
message
Listen for status changes from LocoNet.This doesn't do anything now. Eventually, it will handle the user response.
- Specified by:
messagein interfaceLocoNetListener- Parameters:
m- The received LocoNet message. Note that this same object may be presented to multiple users. It should not be modified here.
-