1 |
mojays |
2 |
package appl.parallel.model; |
2 |
|
|
|
3 |
|
|
import java.io.Serializable; |
4 |
|
|
|
5 |
alfonx |
60 |
import appl.parallel.spmd.SPMDClientInterface; |
6 |
mojays |
2 |
import edu.bonn.xulu.model.StepModel; |
7 |
|
|
|
8 |
|
|
/** |
9 |
|
|
* This class extends the functionality of a Xulu-StepModel. It provides |
10 |
|
|
* access to the {@link SPMDClientInterface} for parallel access. For implementation |
11 |
|
|
* it is recommended to subclass {@link AbstractParallelStepModel}. |
12 |
|
|
* |
13 |
|
|
* @see AbstractParallelStepModel |
14 |
|
|
* |
15 |
|
|
* @author Dominik Appl |
16 |
|
|
*/ |
17 |
|
|
public interface ParallelStepModel extends StepModel, Serializable { |
18 |
|
|
|
19 |
|
|
/** |
20 |
|
|
* @return the SPMD client controller which provides access to the parallelization control |
21 |
|
|
*/ |
22 |
|
|
public SPMDClientInterface getSPMDController(); |
23 |
|
|
|
24 |
|
|
/** |
25 |
|
|
* Sets the SPMD Controller |
26 |
|
|
* @param controller the controller to set |
27 |
|
|
*/ |
28 |
|
|
public void setSPMDController(SPMDClientInterface controller); |
29 |
|
|
|
30 |
|
|
} |