au.edu.jcu.hermes.core.transfer
Interface IProgressModel

All Known Implementing Classes:
ProgressModel

public interface IProgressModel

Author: Mathew Wyatt Organisation: James Cook University Date: Sep 24, 2007 Time: 11:14:04 AM


Method Summary
 void addProgessListener(java.awt.event.ActionListener actionListener)
          Listner which listens for updates of the transfer process
 void addTransferFailedlistener(java.awt.event.ActionListener actionListener)
          Listens for a failure event
 void cancelTransfer()
          Cancels the current transfer
 java.lang.String getFailureMessage()
          Returns the failure message - stacktrace
 ObjectCopyBean getObjectCopyBean()
           
 ProgressBean getProgress()
          Hold details about the progress of a transfer
 void startTransfer()
          Start the transfer
 

Method Detail

addProgessListener

void addProgessListener(java.awt.event.ActionListener actionListener)
Listner which listens for updates of the transfer process

Parameters:
actionListener -

getProgress

ProgressBean getProgress()
Hold details about the progress of a transfer

Returns:

startTransfer

void startTransfer()
Start the transfer


addTransferFailedlistener

void addTransferFailedlistener(java.awt.event.ActionListener actionListener)
Listens for a failure event

Parameters:
actionListener -

getFailureMessage

java.lang.String getFailureMessage()
Returns the failure message - stacktrace

Returns:

cancelTransfer

void cancelTransfer()
Cancels the current transfer


getObjectCopyBean

ObjectCopyBean getObjectCopyBean()
Returns: