Package moa.tasks

Interface TaskCompletionListener


  • public interface TaskCompletionListener
    Interface representing a listener for the task in TaskThread to be completed. TaskThread fires that the task is completed to all its listeners when it finishes to run its task.
    Version:
    $Revision: 7 $
    Author:
    Richard Kirkby (rkirkby@cs.waikato.ac.nz)
    • Method Detail

      • taskCompleted

        void taskCompleted​(TaskThread task)
        The method to perform when the task finishes.
        Parameters:
        task - the TaskThead that this listener is listening