... | ... | @@ -19,7 +19,7 @@ An example stage is the `Merger`. |
|
|
In this way, you get a stage with a pre-initialized producer semantics.
|
|
|
Moreover, you can access a default output port named `outputPort`.
|
|
|
**Note:** You need to place a `workCompleted()` call within your `execute` method to signal the framework when your producer stage has finished its job.
|
|
|
Example producer stages are the `Clock` and the `InitialElementProducer`.
|
|
|
Example producer stages are the [`InitialElementProducer`](https://build.se.informatik.uni-kiel.de/teetime/teetime/blob/master/src/main/java/teetime/stage/InitialElementProducer.java) and the [`Clock`](https://build.se.informatik.uni-kiel.de/teetime/teetime/blob/master/src/main/java/teetime/stage/Clock.java).
|
|
|
|
|
|
## What Code Shall I Write?
|
|
|
You only need to implement the logics your stage should represent in the `execute()` method.
|
... | ... | |