public class IntermediateComponentResultListener<E> extends ComponentResultListener<java.util.Collection<E>> implements IIntermediateResultListener<E>, IUndoneIntermediateResultListener<E>
access, component, listener, undone
Constructor and Description |
---|
IntermediateComponentResultListener(IIntermediateResultListener<E> listener,
IInternalAccess component)
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
resultAvailable
exceptionOccurred
exceptionOccurredIfUndone, resultAvailableIfUndone
public IntermediateComponentResultListener(IIntermediateResultListener<E> listener, IInternalAccess component)
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>