Java Globus API: Interface UrlCopyListener
org.globus.io.urlcopy
Interface UrlCopyListener
- public interface UrlCopyListener
|
Method Summary |
void |
transfer(int transferedBytes,
int totalBytes)
This function is contniuosly called during url transfers. |
void |
transferError(java.lang.Exception exception)
This function is called only when an error occurs. |
transfer
public void transfer(int transferedBytes,
int totalBytes)
- This function is contniuosly called during url transfers.
- Parameters:
transferedBytes - number of bytes currently trasfered
if -1, then performing thrid party transfertotalBytes - number of total bytes to transfer
if -1, the total size in unknown.
transferError
public void transferError(java.lang.Exception exception)
- This function is called only when an error occurs.
- Parameters:
exception - the actual error exception