|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmri.jmrix.loconet.AlmImplementation
public class AlmImplementation
Provide an ALM that lives on the LocoNet.
ALMs work in terms of numbered (indexed) Args, each 14 bits long. These are typically in the SW1, SW2 format, but don't have to be.
The contents are stored here in an array, but subclasses can override the load and store methods to change that.
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 | |
|---|---|
AlmImplementation(int pNumber,
boolean pImage)
Does this ALM reply on the LocoNet, or just form an image of an implementation elsewhere? |
|
| Method Summary | |
|---|---|
void |
message(LocoNetMessage msg)
Interpret LocoNet traffic. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AlmImplementation(int pNumber,
boolean pImage)
| Method Detail |
|---|
public void message(LocoNetMessage msg)
message in interface LocoNetListenermsg - Input message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||