de.fzj.unicore.uas.client
Class TransferControllerClient

java.lang.Object
  extended by de.fzj.unicore.wsrflite.xmlbeans.client.BaseWSRFClient
      extended by de.fzj.unicore.uas.client.BaseUASClient
          extended by de.fzj.unicore.uas.client.TransferControllerClient

public class TransferControllerClient
extends BaseUASClient

monitor and manage a server-to-server file transfer

Author:
schuller

Field Summary
 
Fields inherited from class de.fzj.unicore.wsrflite.xmlbeans.client.BaseWSRFClient
epr, proxyMaker, retryDecider, securityProperties, url
 
Constructor Summary
TransferControllerClient(org.w3.x2005.x08.addressing.EndpointReferenceType epr, IUASSecurityProperties sec)
           
TransferControllerClient(java.lang.String url, org.w3.x2005.x08.addressing.EndpointReferenceType epr)
           
TransferControllerClient(java.lang.String url, org.w3.x2005.x08.addressing.EndpointReferenceType epr, IUASSecurityProperties sec)
           
 
Method Summary
 org.unigrids.x2006.x04.services.fts.FileTransferPropertiesDocument getResourcePropertiesDocument()
          returns the service's TargetSystemPropertiesDocument
 long getSize()
          retrieve the data size to be transferred
 java.lang.String getStatus()
          get the (human-readable) status of this transfer
 org.unigrids.x2006.x04.services.fts.SummaryType.Enum getStatusSummary()
          get the file transfer status
 long getTransferredBytes()
          retrieve the number of bytes transferred
 boolean hasFailed()
           
 boolean isComplete()
          check whether the transfer has been completed (or failed)
 
Methods inherited from class de.fzj.unicore.uas.client.BaseUASClient
extractReceiver, getSecurityProperties, getServerVersion, setRetryDefaults
 
Methods inherited from class de.fzj.unicore.wsrflite.xmlbeans.client.BaseWSRFClient
checkConnection, checkConnection, destroy, getConnectionStatus, getCurrentTime, getEPR, getLT, getMultipleResourceProperties, getResourceProperty, getResourcePropertyDocument, GetResourcePropertyDocument, getRP, getTerminationTime, getUpdateInterval, getUrl, makeProxy, queryResourceProperties, setConnectionTimeout, setConnectionTimeout, setRetryHandler, setTerminationTime, setUpdateInterval
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransferControllerClient

public TransferControllerClient(java.lang.String url,
                                org.w3.x2005.x08.addressing.EndpointReferenceType epr,
                                IUASSecurityProperties sec)
                         throws java.lang.Exception
Throws:
java.lang.Exception

TransferControllerClient

public TransferControllerClient(org.w3.x2005.x08.addressing.EndpointReferenceType epr,
                                IUASSecurityProperties sec)
                         throws java.lang.Exception
Throws:
java.lang.Exception

TransferControllerClient

public TransferControllerClient(java.lang.String url,
                                org.w3.x2005.x08.addressing.EndpointReferenceType epr)
                         throws java.lang.Exception
Parameters:
url -
epr -
Throws:
java.lang.Exception
Method Detail

getResourcePropertiesDocument

public org.unigrids.x2006.x04.services.fts.FileTransferPropertiesDocument getResourcePropertiesDocument()
                                                                                                 throws java.lang.Exception
returns the service's TargetSystemPropertiesDocument

Parameters:
endpointUrl -
epr -
Throws:
java.lang.Exception

getTransferredBytes

public long getTransferredBytes()
retrieve the number of bytes transferred


getSize

public long getSize()
retrieve the data size to be transferred


getStatus

public java.lang.String getStatus()
get the (human-readable) status of this transfer


getStatusSummary

public org.unigrids.x2006.x04.services.fts.SummaryType.Enum getStatusSummary()
                                                                      throws java.lang.Exception
get the file transfer status

Throws:
java.lang.Exception

isComplete

public boolean isComplete()
check whether the transfer has been completed (or failed)


hasFailed

public boolean hasFailed()


Copyright © 2006-2010 Research Center Juelich. All Rights Reserved.