|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmri.jmrix.loconet.LnMessageManager
public class LnMessageManager
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.
| Constructor Summary | |
|---|---|
LnMessageManager()
|
|
| Method Summary | |
|---|---|
void |
dispose()
Free resources when no longer used |
static LnMessageManager |
instance()
|
void |
message(LocoNetMessage m)
Listen for status changes from LocoNet This doesn't do anything now. |
void |
sendMessage(int id,
String text)
|
void |
sendMessage(String text)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LnMessageManager()
| Method Detail |
|---|
public void sendMessage(String text)
public void sendMessage(int id,
String text)
public void dispose()
public void message(LocoNetMessage m)
This doesn't do anything now. Eventually, it will handle the user response.
message in interface LocoNetListenerm - The received LocoNet message. Note that this same object
may be presented to multiple users. It should not be
modified here.public static LnMessageManager instance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||