public class IntermediateComponentResultListener<E> extends ComponentResultListener<Collection<E>> implements IIntermediateResultListener<E>, IUndoneIntermediateResultListener<E>
Constructor and Description |
---|
IntermediateComponentResultListener(IIntermediateResultListener<E> listener,
IComponentAdapter adapter)
Create a new component result listener.
|
Modifier and Type | Method and Description |
---|---|
void |
finished()
Declare that the future is finished.
|
void |
finishedIfUndone()
Declare that the future is finished.
|
void |
intermediateResultAvailable(E result)
Called when an intermediate result is available.
|
void |
intermediateResultAvailableIfUndone(E result)
Called when an intermediate result is available.
|
commandAvailable, exceptionOccurred, exceptionOccurredIfUndone, resultAvailable, resultAvailableIfUndone
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
resultAvailable
exceptionOccurred
exceptionOccurredIfUndone, resultAvailableIfUndone
public IntermediateComponentResultListener(IIntermediateResultListener<E> listener, IComponentAdapter adapter)
listener
- The listener.adapter
- The adapter.public void intermediateResultAvailable(E result)
intermediateResultAvailable
in interface IIntermediateResultListener<E>
result
- The result.public void finished()
finished
in interface IIntermediateResultListener<E>
public void intermediateResultAvailableIfUndone(E result)
intermediateResultAvailableIfUndone
in interface IUndoneIntermediateResultListener<E>
result
- The result.public void finishedIfUndone()
finishedIfUndone
in interface IUndoneIntermediateResultListener<E>
Copyright © 2013. All Rights Reserved.