public abstract class ATEThread extends Object implements Runnable
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
asleep |
protected int |
default_threshold |
protected boolean |
run |
protected boolean |
running |
protected boolean |
skip |
protected Thread |
thread |
protected int |
threadSleep |
protected int |
threshold |
| Constructor and Description |
|---|
ATEThread() |
| Modifier and Type | Method and Description |
|---|---|
void |
awakeThread()
Interrupt the thread if it is sleeping.
|
void |
awakeThread(int threshold) |
boolean |
cancel() |
boolean |
isRunning() |
void |
run() |
void |
setDefaultThreshold(int threshold) |
void |
setRunning(boolean flag) |
void |
skip() |
protected void |
start() |
protected void |
start(int threadSleep) |
void |
stop() |
void |
threadReportException(Exception e) |
protected abstract void |
threadRun() |
boolean |
threadSleep(int ms) |
protected int threadSleep
protected int threshold
protected int default_threshold
protected boolean running
protected boolean run
protected Thread thread
protected boolean asleep
protected boolean skip
public void setDefaultThreshold(int threshold)
public void setRunning(boolean flag)
public boolean isRunning()
protected void start()
protected void start(int threadSleep)
public void skip()
public void stop()
public void awakeThread()
public void awakeThread(int threshold)
public boolean cancel()
public void threadReportException(Exception e)
public boolean threadSleep(int ms)
Copyright © 2013. All rights reserved.