jmri.jmrix.loconet
Class LnReporterManager
java.lang.Object
jmri.AbstractManager
jmri.AbstractReporterManager
jmri.jmrix.loconet.LnReporterManager
- All Implemented Interfaces:
- PropertyChangeListener, EventListener, LocoNetListener, Manager, ReporterManager
public class LnReporterManager
- extends AbstractReporterManager
- implements LocoNetListener
LnReporterManager implements the ReporterManager.
System names are "LRnnn", where nnn is the Reporter number without padding.
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.
Description: Implement Reporter manager for loconet
- Author:
- Bob Jacobsen Copyright (C) 2001
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LnReporterManager
public LnReporterManager()
systemLetter
public char systemLetter()
- Specified by:
systemLetter in interface Manager
- Returns:
- The system-specific prefix letter for a specific implementation
dispose
public void dispose()
- Description copied from interface:
Manager
- Free resources when no longer used. Specifically, remove all references
to and from this object, so it can be garbage-collected.
- Specified by:
dispose in interface Manager- Overrides:
dispose in class AbstractManager
createNewReporter
public Reporter createNewReporter(String systemName,
String userName)
- Description copied from class:
AbstractReporterManager
- Internal method to invoke the factory, after all the
logic for returning an existing method has been invoked.
- Specified by:
createNewReporter in class AbstractReporterManager
- Returns:
- never null
message
public void message(LocoNetMessage l)
- Description copied from interface:
LocoNetListener
- Member function that will be invoked by a LocoNetInterface implementation
to forward a LocoNet message from the layout.
- Specified by:
message in interface LocoNetListener
- Parameters:
l - The received LocoNet message. Note that this same object
may be presented to multiple users. It should not be
modified here.
instance
public static LnReporterManager instance()
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: