SecureDataChannel (Java Globus API)

org.globus.ftp.dc
Class SecureDataChannel

java.lang.Object
  |
  +--org.globus.ftp.dc.AbstractDataChannel
        |
        +--org.globus.ftp.dc.SimpleDataChannel
              |
              +--org.globus.ftp.dc.SecureDataChannel
All Implemented Interfaces:
DataChannel

public class SecureDataChannel
extends SimpleDataChannel

The only reason for this class to exist is a server side protection mode problem (bug?). Otherwise, SimpleDataChannel could be used. See comments in the code.


Field Summary
protected  GridFTPSession gSession
           
 
Fields inherited from class org.globus.ftp.dc.SimpleDataChannel
logger, socketBox, transferThread
 
Fields inherited from class org.globus.ftp.dc.AbstractDataChannel
dataHandlers, session
 
Constructor Summary
SecureDataChannel(Session session, SocketBox socketBox)
           
 
Method Summary
 void startTransfer(DataSink sink, BasicServerControlChannel localControlChannel, TransferContext context)
           
 
Methods inherited from class org.globus.ftp.dc.SimpleDataChannel
close, startTransfer
 
Methods inherited from class org.globus.ftp.dc.AbstractDataChannel
getDataChannelSink, getDataChannelSource, installDefaultHandlers, isDataSinkModeSupported, isDataSourceModeSupported, registerHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

gSession

protected GridFTPSession gSession
Constructor Detail

SecureDataChannel

public SecureDataChannel(Session session,
                         SocketBox socketBox)
Method Detail

startTransfer

public void startTransfer(DataSink sink,
                          BasicServerControlChannel localControlChannel,
                          TransferContext context)
                   throws java.lang.Exception
Specified by:
startTransfer in interface DataChannel
Overrides:
startTransfer in class SimpleDataChannel
java.lang.Exception