Package jmri.jmrix.nce.consist
Class NceConsistRestore
java.lang.Object
java.lang.Thread
jmri.jmrix.nce.consist.NceConsistRestore
- All Implemented Interfaces:
Runnable,EventListener,AbstractMRListener,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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Field Details
-
textConsist
-
consistNumber
-
-
Constructor Details
-
NceConsistRestore
-
-
Method Details
-
run
-
message
- Specified by:
messagein interfaceNceListener
-
reply
- Specified by:
replyin interfaceNceListener
-