net.sourceforge.cilib.simulator
Interface ProgressListener

All Known Implementing Classes:
NoProgress, ProgressText

public interface ProgressListener

This interface must be implemented by any class that wishes to receive progress events.

Author:
Edwin Peer

Method Summary
 void handleProgressEvent(ProgressEvent event)
          Process the given progress event.
 void setSimulation(int simnum)
          Indicates on which event we are.
 

Method Detail

handleProgressEvent

void handleProgressEvent(ProgressEvent event)
Process the given progress event.

Parameters:
event - The progress event.

setSimulation

void setSimulation(int simnum)
Indicates on which event we are. TODO: This needs to become a ProgressEvent, same as the indication of percentage completed.

Parameters:
simnum - The number of the simulation.


Copyright © 2009 CIRG. All Rights Reserved.