public class NodeObserverAdapter<OUT> extends java.lang.Object implements NodeObserver<OUT>
NodeObserverAdapter is an adapter class for NodeObserver.| Constructor and Description |
|---|
NodeObserverAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
onCompleted(OutputNode<OUT> node)
Invoked when the given
OutputNode is completed. |
void |
onError(OutputNode<OUT> node,
java.lang.Throwable throwable)
Invoked when the given
OutputNode has detected an error. |
void |
onInput(OutputNode<OUT> node,
OUT input)
Invoked when the given
OutputNode has received the given input value. |
void |
onReset(OutputNode<OUT> node)
Invoked when the given
OutputNode has been resetted. |
public void onInput(OutputNode<OUT> node, OUT input)
NodeObserverOutputNode has received the given input value.onInput in interface NodeObserver<OUT>node - The @link OutputNode}.input - The input value of type OUT.public void onCompleted(OutputNode<OUT> node)
NodeObserverOutputNode is completed.onCompleted in interface NodeObserver<OUT>node - The completed OutputNode.public void onError(OutputNode<OUT> node, java.lang.Throwable throwable)
NodeObserverOutputNode has detected an error.onError in interface NodeObserver<OUT>node - The OutputNode notifying about error.throwable - A Throwable representing the detected error.public void onReset(OutputNode<OUT> node)
NodeObserverOutputNode has been resetted.onReset in interface NodeObserver<OUT>