public abstract class SendThread
extends java.lang.Thread
implements com.serotonin.util.ILifecycle
| Modifier and Type | Field and Description |
|---|---|
private static org.apache.commons.logging.Log |
LOG |
private boolean |
running |
| Constructor and Description |
|---|
SendThread(java.lang.String threadName) |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize() |
protected boolean |
isRunning() |
void |
joinTermination() |
void |
run() |
protected abstract void |
runImpl() |
void |
terminate() |
protected void |
waitImpl(long time) |
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, yieldprivate static final org.apache.commons.logging.Log LOG
private boolean running
public void initialize()
initialize in interface com.serotonin.util.ILifecyclepublic void terminate()
terminate in interface com.serotonin.util.ILifecycleprotected boolean isRunning()
public void joinTermination()
joinTermination in interface com.serotonin.util.ILifecyclepublic void run()
run in interface java.lang.Runnablerun in class java.lang.Threadprotected void waitImpl(long time)
protected abstract void runImpl()