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, yield
private static final org.apache.commons.logging.Log LOG
private boolean running
public void initialize()
initialize
in interface com.serotonin.util.ILifecycle
public void terminate()
terminate
in interface com.serotonin.util.ILifecycle
protected boolean isRunning()
public void joinTermination()
joinTermination
in interface com.serotonin.util.ILifecycle
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
protected void waitImpl(long time)
protected abstract void runImpl()