public class TransferSourceThread extends TransferThread
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
protected TransferContext |
context |
protected BasicServerControlChannel |
localControlChannel |
protected static org.apache.commons.logging.Log |
logger |
protected SocketBox |
socketBox |
protected DataSource |
source |
protected DataChannelWriter |
writer |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
TransferSourceThread(AbstractDataChannel dataChannel,
SocketBox socketBox,
DataSource source,
BasicServerControlChannel localControlChannel,
TransferContext context) |
Modifier and Type | Method and Description |
---|---|
void |
run() |
protected Object |
shutdown() |
protected void |
startup() |
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 static org.apache.commons.logging.Log logger
protected DataChannelWriter writer
protected DataSource source
protected BasicServerControlChannel localControlChannel
protected TransferContext context
protected SocketBox socketBox
public TransferSourceThread(AbstractDataChannel dataChannel, SocketBox socketBox, DataSource source, BasicServerControlChannel localControlChannel, TransferContext context) throws Exception
Exception
protected void startup()
protected Object shutdown() throws IOException
IOException
Copyright © 2016. All rights reserved.