|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Thread
com.buglabs.osgi.filesystem.util.AbstractPipeThread
com.buglabs.osgi.filesystem.util.PipeWriterThread
public class PipeWriterThread
Push output of reader to clients on other side of pipe.
| Nested Class Summary | |
|---|---|
static interface |
PipeWriterThread.ContentSource
Defines the source of content from which will be read and sent to clients on the pipe. |
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary |
|---|
| Fields inherited from class com.buglabs.osgi.filesystem.util.AbstractPipeThread |
|---|
log, pipe |
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
PipeWriterThread(java.io.File pipe,
PipeWriterThread.ContentSource output,
LogService log)
Create writer |
|
PipeWriterThread(java.io.File pipe,
TableViewer viewer,
LogService log)
Create writer |
|
| Method Summary | |
|---|---|
void |
run()
|
void |
shutdown()
Exit writing thread. |
| Methods inherited from class com.buglabs.osgi.filesystem.util.AbstractPipeThread |
|---|
createPipe |
| 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 |
| Constructor Detail |
|---|
public PipeWriterThread(java.io.File pipe,
PipeWriterThread.ContentSource output,
LogService log)
pipe - reader -
public PipeWriterThread(java.io.File pipe,
TableViewer viewer,
LogService log)
pipe - reader - | Method Detail |
|---|
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic void shutdown()
shutdown in class AbstractPipeThread
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||