public abstract class ReaderThread extends Thread
Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
ReaderThread(InputStream stream) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
handleComplete() |
protected abstract void |
handleData(byte[] buffer,
int len) |
protected abstract void |
handleError(IOException e) |
void |
run() |
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, yieldpublic ReaderThread(InputStream stream)
protected abstract void handleError(IOException e)
protected abstract void handleData(byte[] buffer,
int len)
protected abstract void handleComplete()
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.