Package jmri.jmrit.vsdecoder
Class VSDecoderManagerThread
- java.lang.Object
-
- java.lang.Thread
-
- jmri.jmrit.vsdecoder.VSDecoderManagerThread
-
- All Implemented Interfaces:
java.lang.Runnable
class VSDecoderManagerThread extends java.lang.Thread
Main thread of VSDecoder.
This file is part of JMRI.JMRI is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. See the "COPYING" file for a copy of this license.
JMRI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) boolean
is_running
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VSDecoderManagerThread
instance()
static VSDecoderManagerThread
instance(java.lang.Boolean create)
void
kill()
static VSDecoderManager
manager()
void
run()
-
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 Detail
-
is_running
boolean is_running
-
-
Method Detail
-
instance
public static VSDecoderManagerThread instance(java.lang.Boolean create)
-
instance
public static VSDecoderManagerThread instance()
-
manager
public static VSDecoderManager manager()
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
- Overrides:
run
in classjava.lang.Thread
-
kill
public void kill()
-
-