Java Globus API: Class SimpleDataChannel
org.globus.ftp.dc
Class SimpleDataChannel
java.lang.Object
|
+--org.globus.ftp.dc.AbstractDataChannel
|
+--org.globus.ftp.dc.SimpleDataChannel
- All Implemented Interfaces:
- DataChannel
- Direct Known Subclasses:
- SecureDataChannel
- public class SimpleDataChannel
- extends AbstractDataChannel
Data channel receives in the constructor a socket that should
be ready for communication, and starts a new thread that
will perform the transfer.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static org.apache.log4j.Logger logger
socketBox
protected SocketBox socketBox
transferThread
protected org.globus.ftp.dc.SimpleDataChannel.TransferThread transferThread
SimpleDataChannel
public SimpleDataChannel(Session session,
SocketBox socketBox)
- Parameters:
socketBox - should be opened and ready for comunication
close
public void close()
throws IOException
startTransfer
public void startTransfer(DataSink sink,
BasicServerControlChannel localControlChannel,
TransferContext context)
throws Exception
startTransfer
public void startTransfer(DataSource source,
BasicServerControlChannel localControlChannel,
TransferContext context)
throws Exception