| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
ix.util.CatchingThread
ix.util.TransferThread
public abstract class TransferThread
A thread that processes a message queue.
MessageQueue| Nested Class Summary | 
|---|
| Nested classes/interfaces inherited from class java.lang.Thread | 
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler | 
| Field Summary | |
|---|---|
protected  MessageQueue | 
queue
 | 
| Fields inherited from class ix.util.CatchingThread | 
|---|
innerRunnable | 
| Fields inherited from class java.lang.Thread | 
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY | 
| Constructor Summary | |
|---|---|
TransferThread()
 | 
|
| Method Summary | |
|---|---|
abstract  void | 
handle(java.lang.Object message)
Called to process the message in whatever way is desired.  | 
 void | 
innerRun()
Loops taking a message from the queue and calling handle(message). | 
 void | 
take(java.lang.Object message)
Enqueue the object for processing  | 
| Methods inherited from class ix.util.CatchingThread | 
|---|
handleException, run | 
| Methods inherited from class java.lang.Thread | 
|---|
activeCount, checkAccess, 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 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
protected MessageQueue queue
| Constructor Detail | 
|---|
public TransferThread()
| Method Detail | 
|---|
public void take(java.lang.Object message)
public void innerRun()
handle(message).
innerRun in class CatchingThreadpublic abstract void handle(java.lang.Object message)
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||