uk.ac.cisban.rod.dao
Interface DatabaseProgressListener


public interface DatabaseProgressListener

Interface that allows data management classes to listen in on the progress of database access.

Since:
04-Dec-2009, 13:59:11
Author:
Morgan Taschuk

Method Summary
 void reportProgress(int progress)
          Reports the progress of the database to whichever listener is interested.
 void reportProgressStatus(java.lang.String string)
          Tells interested DatabaseProgressListeners what is happening currently with the database.
 

Method Detail

reportProgressStatus

void reportProgressStatus(java.lang.String string)
Tells interested DatabaseProgressListeners what is happening currently with the database.

Parameters:
s - an interesting status message

reportProgress

void reportProgress(int progress)
Reports the progress of the database to whichever listener is interested.

Parameters:
progress - the progress percent (from 0-99).


Copyright © 2010. All Rights Reserved.