org.objectweb.dream.control.activity.task
Interface TaskLifeCycleController

All Superinterfaces:
LifeCycleController
All Known Implementing Classes:
BasicThreadPoolTask, BasicThreadTask, ContainerLifeCycleMixin

public interface TaskLifeCycleController
extends LifeCycleController

Task lifecycle controller interface.


Field Summary
 
Fields inherited from interface org.objectweb.fractal.api.control.LifeCycleController
STARTED, STOPPED
 
Method Summary
 void asyncStop(TaskStoppedListener listener)
          Stops asynchronously the task, this interface belong.
 
Methods inherited from interface org.objectweb.fractal.api.control.LifeCycleController
getFcState, startFc, stopFc
 

Method Detail

asyncStop

public void asyncStop(TaskStoppedListener listener)
Stops asynchronously the task, this interface belong. This method returns immediatly. The given listener will be notified when the task has stopped. If the task is already in the LifeCycleController.STOPPEDstate, the listener is immediatly notified.

Parameters:
listener - listener nitified when the task has stopped.


Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.