public class NTThread
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
NTThread.NTRunnable
A runnable where the run method will be called periodically
|
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Thread |
m_thread |
private boolean |
run |
| Modifier | Constructor and Description |
|---|---|
private |
NTThread(NTThread.NTRunnable r,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRunning() |
static NTThread |
newBlockingPeriodicThread(NTThread.NTRunnable r,
java.lang.String name) |
void |
stop() |
private NTThread(NTThread.NTRunnable r, java.lang.String name)
public void stop()
public boolean isRunning()
public static final NTThread newBlockingPeriodicThread(NTThread.NTRunnable r, java.lang.String name)
r - name - the name of the thread