public abstract class SwingIntermediateExceptionDelegationResultListener<E,T> extends Object implements IIntermediateResultListener<E>
Constructor and Description |
---|
SwingIntermediateExceptionDelegationResultListener(Future<T> future)
Create a new listener.
|
Modifier and Type | Method and Description |
---|---|
void |
customExceptionOccurred(Exception exception)
Called when an exception occurred.
|
abstract void |
customFinished()
Called when finished.
|
abstract void |
customIntermediateResultAvailable(E result)
Called when the result is available.
|
abstract void |
customResultAvailable(Collection<E> result)
Called when the result is available.
|
void |
exceptionOccurred(Exception exception)
Called when an exception occurred.
|
void |
finished()
Declare that the future is finished.
|
void |
intermediateResultAvailable(E result)
Called when an intermediate result is available.
|
void |
resultAvailable(Collection<E> result)
Called when the result is available.
|
public final void resultAvailable(Collection<E> result)
resultAvailable
in interface IIntermediateResultListener<E>
resultAvailable
in interface IResultListener<Collection<E>>
result
- The final result.public final void exceptionOccurred(Exception exception)
exceptionOccurred
in interface IResultListener<Collection<E>>
exception
- The exception.public final void intermediateResultAvailable(E result)
intermediateResultAvailable
in interface IIntermediateResultListener<E>
result
- The result.public final void finished()
finished
in interface IIntermediateResultListener<E>
public abstract void customResultAvailable(Collection<E> result)
result
- The result.public abstract void customIntermediateResultAvailable(E result)
result
- The result.public void customExceptionOccurred(Exception exception)
exception
- The exception.public abstract void customFinished()
Copyright © 2012. All Rights Reserved.