com.tuneology.avm
Interface ProgressListener

All Superinterfaces:
java.util.EventListener

public interface ProgressListener
extends java.util.EventListener

Implement this class to get status updates.

Version:
$Id: ProgressListener.java,v 1.4 2003/06/07 15:31:41 xnarf Exp $
Author:
Fran Taylor

Method Summary
 void setCurrent(long n, int trk, int fifoPct)
          Updates the current status of reading or writing.
 void setStatus(int tsk)
          Sets the current status, to be displayed to the user.
 void setTotal(long n)
          Sets the total number to be read or written.
 

Method Detail

setStatus

public void setStatus(int tsk)
               throws java.lang.Exception
Sets the current status, to be displayed to the user.
Parameters:
tsk -  

setTotal

public void setTotal(long n)
              throws java.lang.Exception
Sets the total number to be read or written.
Parameters:
mb -  

setCurrent

public void setCurrent(long n,
                       int trk,
                       int fifoPct)
                throws java.lang.Exception
Updates the current status of reading or writing.
Parameters:
mb - the current number read or written
trk - thr current track number
fifoPct - the full percentage of the write fifo.