jmri.jmrix.loconet
Class AlmImplementation
java.lang.Object
jmri.jmrix.loconet.AlmImplementation
- All Implemented Interfaces:
- EventListener, LocoNetListener
public class AlmImplementation
- extends Object
- implements LocoNetListener
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.
- Author:
- Bob Jacobsen Copyright 2002
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AlmImplementation
public AlmImplementation(int pNumber,
boolean pImage)
message
public void message(LocoNetMessage msg)
- Interpret LocoNet traffic.
- Specified by:
message in interface LocoNetListener
- Parameters:
msg - Input message
Copyright © 1997 - 2008 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.
Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: