jmri.jmrix.nce.consist
Class NceConsistRestore
java.lang.Object
java.lang.Thread
jmri.jmrix.nce.consist.NceConsistRestore
- All Implemented Interfaces:
- Runnable, EventListener, AbstractMRListener, NceListener
public class NceConsistRestore
- extends Thread
- implements NceListener
Restores NCE consists from a text file defined by NCE.
NCE file format:
:F500 (16 bytes per line, grouped as 8 words with space delimiters)
:F510
.
.
:FAF0
:0000
The restore routine checks that each line of the file begins with the appropriate consist address.
- Author:
- Dan Boudreau Copyright (C) 2007
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
NceConsistRestore
public NceConsistRestore(NceTrafficController t)
run
public void run()
- Specified by:
run in interface Runnable- Overrides:
run in class Thread
message
public void message(NceMessage m)
- Specified by:
message in interface NceListener
reply
public void reply(NceReply r)
- Specified by:
reply in interface NceListener
Copyright © 1997 - 2011 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: