Package org.globus.ftp.dc
Class ActiveStartTransferTask
java.lang.Object
org.globus.ftp.dc.Task
org.globus.ftp.dc.ActiveStartTransferTask
This task will start the transfer on the supplied socket.
The socket is assumed to have been already connected to the
remote server (for instance, by active connect task).
It is little tricky: it will cause data channel to start
a new thread. By the time this task completes, the new
thread is running the transfer.
Any resulting exceptions are piped to the local control channel.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionActiveStartTransferTask
(DataSink sink, BasicServerControlChannel control, SocketBox box, Session session, DataChannelFactory factory, TransferContext context) ActiveStartTransferTask
(DataSource source, BasicServerControlChannel control, SocketBox box, Session session, DataChannelFactory factory, TransferContext context) -
Method Summary
Methods inherited from class org.globus.ftp.dc.Task
setComplete, stop, waitFor
-
Field Details
-
STOR
protected static final int STOR- See Also:
-
RETR
protected static final int RETR- See Also:
-
-
Constructor Details
-
ActiveStartTransferTask
public ActiveStartTransferTask(DataSink sink, BasicServerControlChannel control, SocketBox box, Session session, DataChannelFactory factory, TransferContext context) -
ActiveStartTransferTask
public ActiveStartTransferTask(DataSource source, BasicServerControlChannel control, SocketBox box, Session session, DataChannelFactory factory, TransferContext context)
-
-
Method Details