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
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected TransferContextprotected BasicServerControlChannelprotected static org.apache.commons.logging.Logprotected SocketBoxprotected DataSourceprotected DataChannelWriterFields inherited from class Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
ConstructorsConstructorDescriptionTransferSourceThread(AbstractDataChannel dataChannel, SocketBox socketBox, DataSource source, BasicServerControlChannel localControlChannel, TransferContext context) -
Method Summary
Methods inherited from class Thread
activeCount, checkAccess, clone, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, threadId, toString, yield
-
Field Details
-
logger
protected static org.apache.commons.logging.Log logger -
writer
-
source
-
localControlChannel
-
context
-
socketBox
-
-
Constructor Details
-
TransferSourceThread
public TransferSourceThread(AbstractDataChannel dataChannel, SocketBox socketBox, DataSource source, BasicServerControlChannel localControlChannel, TransferContext context) throws Exception - Throws:
Exception
-
-
Method Details
-
run
-
startup
protected void startup() -
shutdown
- Throws:
IOException
-