com.intel.gpe.gridbeans.util.transfers
Interface TransferManager

All Known Implementing Classes:
AsyncFileAdapter

public interface TransferManager

The transfer manager interface. This is a helper object to make the transfers easy.

Author:
Alexander Lukichev

Method Summary
 void fetchFiles(java.util.List<FileTransfer> transfers, com.intel.gpe.util.observer.IObserver observer, FileTransferProgressListener progress)
          Fetch the files from the remote file system.
 void putFiles(java.util.List<FileTransfer> transfers, com.intel.gpe.util.observer.IObserver observer, FileTransferProgressListener progress)
          Put the files to the remote file system.
 

Method Detail

putFiles

void putFiles(java.util.List<FileTransfer> transfers,
              com.intel.gpe.util.observer.IObserver observer,
              FileTransferProgressListener progress)
Put the files to the remote file system. A progress listener may be specified. The observer receives the list of failed transfers, empty list if none.

Parameters:
storageClient - - the storage to put the files to
transfer - - the list of the transfer records
observer - - the observer
progress - - the progress listener, may be null

fetchFiles

void fetchFiles(java.util.List<FileTransfer> transfers,
                com.intel.gpe.util.observer.IObserver observer,
                FileTransferProgressListener progress)
Fetch the files from the remote file system. A progress listener may be specified. The observer receives the list of failed transfers, empty list if none.

Parameters:
storageClient - - the storage to fetch the files from
transfer - - the list of the transfer records
observer - - the observer
progress - - the progress listener, may be null


Copyright © 2008. All Rights Reserved.