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:
- 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.
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
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
TransferSourceThread
public TransferSourceThread(AbstractDataChannel dataChannel,
SocketBox socketBox,
DataSource source,
BasicServerControlChannel localControlChannel,
TransferContext context)
throws Exception
run
public void run()
startup
protected void startup()
shutdown
protected Object shutdown()
throws IOException
- Throws:
IOException