org.globus.ogsa.impl.base.multirft
Class TransferClient

java.lang.Object
  extended byorg.globus.ogsa.impl.base.multirft.TransferClient

public class TransferClient
extends java.lang.Object

Description of the Class


Constructor Summary
TransferClient()
          Constructor for the TransferClient object
TransferClient(int transferid, java.lang.String sourceURL, java.lang.String destinationURL, java.lang.String proxyPath, FileTransferProgressType transferProgress, ServiceDataSet serviceData, ServiceData transferProgressData, ServiceData restartMarkerServiceData, FileTransferRestartMarker restartMarker, ServiceData gridFTPRestartMarkerSD, GridFTPRestartMarkerElement gridFTPRestartMarkerElement, ServiceData gridFTPPerfMarkerSD, GridFTPPerfMarkerElement gridFTPPerfMarkerElement, RFTOptionsType rftOptions)
          Constructor for the TransferClient object
 
Method Summary
 void close()
           
 GridFTPClient getDestination()
          DOCUMENT ME!
 java.lang.String getDestinationPath()
          DOCUMENT ME!
 GlobusURL getDestinationURL()
          Gets the destinationURL attribute of the TransferClient object
 long getSize()
          Gets the size attribute of the TransferClient object
 GridFTPClient getSource()
          DOCUMENT ME!
 java.lang.String getSourcePath()
          DOCUMENT ME!
 GlobusURL getSourceURL()
          Gets the sourceURL attribute of the TransferClient object
 int getStatus()
          DOCUMENT ME!
 int getTransferID()
          DOCUMENT ME!
 URLExpander getUrlExpander()
          Gets the urlExpander attribute of the TransferClient object
 void initialize()
          Description of the Method
static org.ietf.jgss.GSSCredential loadCredential(java.lang.String credPath)
          DOCUMENT ME!
static java.lang.String saveCredential(org.ietf.jgss.GSSCredential credential)
          DOCUMENT ME!
 void setAuthorization()
          Sets the authorization attribute of the TransferClient object
 void setCredential(java.lang.String proxyPath)
          Sets the credential attribute of the TransferClient object
 void setDbOptions(TransferDbOptions dbOptions)
          Sets the dbOptions attribute of the TransferClient object
 void setDestination(GridFTPClient destinationHost)
          DOCUMENT ME!
 void setDestinationHost(java.lang.String destURL)
          Sets the destinationHost attribute of the TransferClient object
 void setDestinationPath(java.lang.String destPath)
          DOCUMENT ME!
 void setDestinationURL(java.lang.String destinationURL)
          Sets the destinationURL attribute of the TransferClient object
 void setMyMarkerListener(FileTransferProgressType transferProgress, ServiceDataSet serviceData, ServiceData transferProgressData, ServiceData restartMarkerServiceData, FileTransferRestartMarker restartMarker, ServiceData gridFTPRestartMarkerSD, GridFTPRestartMarkerElement gridFTPRestartMarkerElement, ServiceData gridFTPPerfMarkerSD, GridFTPPerfMarkerElement gridFTPPerfMarkerElement)
          Sets the myMarkerListener attribute of the TransferClient object
 void setMyMarkerListener(MyMarkerListener markerListener)
          Sets the myMarkerListener attribute of the TransferClient object
 void setParallelStreams(int parallel)
          DOCUMENT ME!
 void setProxyPath(java.lang.String proxyPath)
          DOCUMENT ME!
 void setRestartMarker(java.lang.String marker)
          DOCUMENT ME!
 void setRftOptions(RFTOptionsType rftOptions)
          Sets the rftOptions attribute of the TransferClient object
 void setRFTOptions(RFTOptionsType rftOptions)
          DOCUMENT ME!
 void setSource(GridFTPClient host)
          DOCUMENT ME!
 void setSourceHost(java.lang.String sourceURL)
          Sets the sourceHost attribute of the TransferClient object
 void setSourcePath(java.lang.String sourcePath)
          DOCUMENT ME!
 void setSourceURL(java.lang.String sourceURL)
          Sets the sourceURL attribute of the TransferClient object
 void setStatus(int status)
          Sets the status attribute of the TransferClient object
 void setTcpBufferSize(int tcpBufferSize)
          DOCUMENT ME!
 void setTransferId(int transferId)
          Sets the transferId attribute of the TransferClient object
 void setTransferParams(GridFTPClient host, org.ietf.jgss.GSSCredential cred)
          DOCUMENT ME!
 void transfer(boolean useExtended)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransferClient

public TransferClient()
Constructor for the TransferClient object


TransferClient

public TransferClient(int transferid,
                      java.lang.String sourceURL,
                      java.lang.String destinationURL,
                      java.lang.String proxyPath,
                      FileTransferProgressType transferProgress,
                      ServiceDataSet serviceData,
                      ServiceData transferProgressData,
                      ServiceData restartMarkerServiceData,
                      FileTransferRestartMarker restartMarker,
                      ServiceData gridFTPRestartMarkerSD,
                      GridFTPRestartMarkerElement gridFTPRestartMarkerElement,
                      ServiceData gridFTPPerfMarkerSD,
                      GridFTPPerfMarkerElement gridFTPPerfMarkerElement,
                      RFTOptionsType rftOptions)
               throws java.rmi.RemoteException
Constructor for the TransferClient object

Parameters:
transferid - Description of the Parameter
sourceURL - Description of the Parameter
destinationURL - Description of the Parameter
proxyPath - Description of the Parameter
transferProgress - Description of the Parameter
serviceData - Description of the Parameter
transferProgressData - Description of the Parameter
restartMarkerServiceData - Description of the Parameter
restartMarker - Description of the Parameter
gridFTPRestartMarkerSD - Description of the Parameter
gridFTPRestartMarkerElement - Description of the Parameter
gridFTPPerfMarkerSD - Description of the Parameter
gridFTPPerfMarkerElement - Description of the Parameter
rftOptions - Description of the Parameter
Throws:
java.rmi.RemoteException - Description of the Exception
Method Detail

setSourceURL

public void setSourceURL(java.lang.String sourceURL)
                  throws java.rmi.RemoteException
Sets the sourceURL attribute of the TransferClient object

Parameters:
sourceURL - The new sourceURL value
Throws:
java.rmi.RemoteException - Description of the Exception

setDestinationURL

public void setDestinationURL(java.lang.String destinationURL)
                       throws java.rmi.RemoteException
Sets the destinationURL attribute of the TransferClient object

Parameters:
destinationURL - The new destinationURL value
Throws:
java.rmi.RemoteException - Description of the Exception

getSourceURL

public GlobusURL getSourceURL()
Gets the sourceURL attribute of the TransferClient object

Returns:
The sourceURL value

getDestinationURL

public GlobusURL getDestinationURL()
Gets the destinationURL attribute of the TransferClient object

Returns:
The destinationURL value

setSourceHost

public void setSourceHost(java.lang.String sourceURL)
                   throws java.rmi.RemoteException
Sets the sourceHost attribute of the TransferClient object

Parameters:
sourceURL - The new sourceHost value
Throws:
java.rmi.RemoteException - Description of the Exception

setDestinationHost

public void setDestinationHost(java.lang.String destURL)
                        throws java.rmi.RemoteException
Sets the destinationHost attribute of the TransferClient object

Parameters:
destURL - The new destinationHost value
Throws:
java.rmi.RemoteException - Description of the Exception

setStatus

public void setStatus(int status)
Sets the status attribute of the TransferClient object

Parameters:
status - The new status value

setCredential

public void setCredential(java.lang.String proxyPath)
                   throws org.ietf.jgss.GSSException
Sets the credential attribute of the TransferClient object

Parameters:
proxyPath - The new credential value
Throws:
org.ietf.jgss.GSSException - Description of the Exception

initialize

public void initialize()
                throws java.rmi.RemoteException
Description of the Method

Throws:
java.rmi.RemoteException - Description of the Exception

setTransferId

public void setTransferId(int transferId)
Sets the transferId attribute of the TransferClient object

Parameters:
transferId - The new transferId value

setRftOptions

public void setRftOptions(RFTOptionsType rftOptions)
Sets the rftOptions attribute of the TransferClient object

Parameters:
rftOptions - The new rftOptions value

setDbOptions

public void setDbOptions(TransferDbOptions dbOptions)
Sets the dbOptions attribute of the TransferClient object

Parameters:
dbOptions - The new dbOptions value

setMyMarkerListener

public void setMyMarkerListener(FileTransferProgressType transferProgress,
                                ServiceDataSet serviceData,
                                ServiceData transferProgressData,
                                ServiceData restartMarkerServiceData,
                                FileTransferRestartMarker restartMarker,
                                ServiceData gridFTPRestartMarkerSD,
                                GridFTPRestartMarkerElement gridFTPRestartMarkerElement,
                                ServiceData gridFTPPerfMarkerSD,
                                GridFTPPerfMarkerElement gridFTPPerfMarkerElement)
Sets the myMarkerListener attribute of the TransferClient object

Parameters:
transferProgress - The new myMarkerListener value
serviceData - The new myMarkerListener value
transferProgressData - The new myMarkerListener value
restartMarkerServiceData - The new myMarkerListener value
restartMarker - The new myMarkerListener value
gridFTPRestartMarkerSD - The new myMarkerListener value
gridFTPRestartMarkerElement - The new myMarkerListener value
gridFTPPerfMarkerSD - The new myMarkerListener value
gridFTPPerfMarkerElement - The new myMarkerListener value

setMyMarkerListener

public void setMyMarkerListener(MyMarkerListener markerListener)
Sets the myMarkerListener attribute of the TransferClient object

Parameters:
markerListener - The new myMarkerListener value

getSize

public long getSize()
Gets the size attribute of the TransferClient object

Returns:
The size value

getUrlExpander

public URLExpander getUrlExpander()
Gets the urlExpander attribute of the TransferClient object

Returns:
The urlExpander value

setAuthorization

public void setAuthorization()
Sets the authorization attribute of the TransferClient object


loadCredential

public static org.ietf.jgss.GSSCredential loadCredential(java.lang.String credPath)
                                                  throws org.ietf.jgss.GSSException
DOCUMENT ME!

Parameters:
credPath - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
org.ietf.jgss.GSSException - DOCUMENT ME!

saveCredential

public static java.lang.String saveCredential(org.ietf.jgss.GSSCredential credential)
                                       throws org.ietf.jgss.GSSException
DOCUMENT ME!

Parameters:
credential - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
org.ietf.jgss.GSSException - DOCUMENT ME!

setProxyPath

public void setProxyPath(java.lang.String proxyPath)
DOCUMENT ME!

Parameters:
proxyPath - DOCUMENT ME!

setSource

public void setSource(GridFTPClient host)
DOCUMENT ME!

Parameters:
host - DOCUMENT ME!

getSource

public GridFTPClient getSource()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getStatus

public int getStatus()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setDestination

public void setDestination(GridFTPClient destinationHost)
DOCUMENT ME!

Parameters:
destinationHost - DOCUMENT ME!

getDestination

public GridFTPClient getDestination()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setDestinationPath

public void setDestinationPath(java.lang.String destPath)
DOCUMENT ME!

Parameters:
destPath - DOCUMENT ME!

getTransferID

public int getTransferID()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getDestinationPath

public java.lang.String getDestinationPath()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setSourcePath

public void setSourcePath(java.lang.String sourcePath)
DOCUMENT ME!

Parameters:
sourcePath - DOCUMENT ME!

getSourcePath

public java.lang.String getSourcePath()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setRFTOptions

public void setRFTOptions(RFTOptionsType rftOptions)
DOCUMENT ME!

Parameters:
rftOptions - DOCUMENT ME!

setTransferParams

public void setTransferParams(GridFTPClient host,
                              org.ietf.jgss.GSSCredential cred)
                       throws java.lang.Exception
DOCUMENT ME!

Parameters:
host - DOCUMENT ME!
cred - DOCUMENT ME!
Throws:
java.lang.Exception - Description of the Exception

setRestartMarker

public void setRestartMarker(java.lang.String marker)
DOCUMENT ME!

Parameters:
marker - DOCUMENT ME!

setParallelStreams

public void setParallelStreams(int parallel)
DOCUMENT ME!

Parameters:
parallel - DOCUMENT ME!

close

public void close()
           throws java.io.IOException,
                  ServerException
Throws:
java.io.IOException
ServerException

setTcpBufferSize

public void setTcpBufferSize(int tcpBufferSize)
DOCUMENT ME!

Parameters:
tcpBufferSize - DOCUMENT ME!

transfer

public void transfer(boolean useExtended)
DOCUMENT ME!

Parameters:
useExtended - Description of the Parameter