org.objectweb.dream.control.activity.manager
Interface ThreadManager

All Known Implementing Classes:
ThreadManagerImpl

public interface ThreadManager

Activity manager control interface used to add an remove thread component.


Field Summary
static String ITF_NAME
          default interface name.
 
Method Summary
 Task addThread()
          Creates, and returns a thread component.
 void removeThread(Task task)
          Removes the thread, the given task interface belong.
 

Field Detail

ITF_NAME

static final String ITF_NAME
default interface name.

See Also:
Constant Field Values
Method Detail

addThread

Task addThread()
Creates, and returns a thread component.

Returns:
the task interface of the created thread.

removeThread

void removeThread(Task task)
                  throws IllegalTaskException
Removes the thread, the given task interface belong.

Parameters:
task - a task interface of a thread component.
Throws:
IllegalTaskException - if the given task interface is unknown.


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