public abstract class IndependentProcessIncomingCommunicationWorker
extends java.lang.Thread
Modifier and Type | Field and Description |
---|---|
protected java.util.Vector<java.lang.Object> |
receivedObjects |
Modifier | Constructor and Description |
---|---|
protected |
IndependentProcessIncomingCommunicationWorker() |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
conditionToListenIsMet()
This method should return true if the thread has to keep listening to the input standard stream for some
message.
|
void |
run() |
protected abstract void |
whatShouldIDoWithThisObject(java.lang.Object obj)
This method handles the received object.
|
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
protected IndependentProcessIncomingCommunicationWorker()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
protected abstract boolean conditionToListenIsMet()
protected abstract void whatShouldIDoWithThisObject(java.lang.Object obj)
obj
-