public interface InputNode<IN>
Modifier and Type | Method and Description |
---|---|
Graph<?> |
getGraph()
|
void |
onCompleted(OutputNode<?> source)
Invoked when the specified source
OutputNode is completed. |
void |
onError(OutputNode<?> source,
java.lang.Throwable throwable)
Invoked when the given source
OutputNode has detected an error. |
void |
onInput(OutputNode<IN> source,
IN input)
Invoked by the given source
OutputNode for this InputNode to receive the input
Object that was emitted by the OutputNode . |
void |
onReset()
Invoked to reset this
InputNode . |
void |
setGraph(Graph<?> graph)
|
void onInput(OutputNode<IN> source, IN input)
OutputNode
for this InputNode
to receive the input
Object
that was emitted by the OutputNode
.source
- The @link OutputNode}.input
- The input Object
.void onCompleted(OutputNode<?> source)
OutputNode
is completed.source
- The completed OutputNode
.void onError(OutputNode<?> source, java.lang.Throwable throwable)
OutputNode
has detected an error.source
- The OutputNode
notifying about error.throwable
- A Throwable
representing the detected error.void onReset()
InputNode
.