Package org.globus.ftp.dc
Class TransferSourceThread
- java.lang.Object
-
- java.lang.Thread
-
- org.globus.ftp.dc.TransferThread
-
- org.globus.ftp.dc.TransferSourceThread
-
- All Implemented Interfaces:
java.lang.Runnable
- Direct Known Subclasses:
GridFTPTransferSourceThread
public class TransferSourceThread extends TransferThread
Implements outgoing transfer. While the transfer is in progress, replies are sent to the local control channel. Also any failure messages go there in the form of a negative reply.
-
-
Field Summary
Fields Modifier and Type Field Description protected TransferContext
context
protected BasicServerControlChannel
localControlChannel
protected static org.apache.commons.logging.Log
logger
protected SocketBox
socketBox
protected DataSource
source
protected DataChannelWriter
writer
-
Constructor Summary
Constructors Constructor Description TransferSourceThread(AbstractDataChannel dataChannel, SocketBox socketBox, DataSource source, BasicServerControlChannel localControlChannel, TransferContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
protected java.lang.Object
shutdown()
protected void
startup()
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Field Detail
-
logger
protected static org.apache.commons.logging.Log logger
-
writer
protected DataChannelWriter writer
-
source
protected DataSource source
-
localControlChannel
protected BasicServerControlChannel localControlChannel
-
context
protected TransferContext context
-
socketBox
protected SocketBox socketBox
-
-
Constructor Detail
-
TransferSourceThread
public TransferSourceThread(AbstractDataChannel dataChannel, SocketBox socketBox, DataSource source, BasicServerControlChannel localControlChannel, TransferContext context) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-