Package jadex.commons.future
Interface IIntermediateResultListener<E>
-
- All Superinterfaces:
IFunctionalExceptionListener
,IFunctionalIntermediateFinishedListener<E>
,IFunctionalIntermediateResultListener<E>
,IFunctionalResultListener<java.util.Collection<E>>
,IResultListener<java.util.Collection<E>>
- All Known Subinterfaces:
IIntermediateFutureCommandResultListener<E>
,IMultiplexCollector
,ITuple2ResultListener<E,F>
- All Known Implementing Classes:
CollectingIntermediateResultListener
,DefaultTuple2ResultListener
,DuplicateRemovalIntermediateResultListener
,FlattenMultiplexCollector
,IntermediateComponentResultListener
,IntermediateDefaultResultListener
,IntermediateDelegationResultListener
,IntermediateExceptionDelegationResultListener
,MultiServiceInvocationHandler.IntermediateMethodResultListener
,ServiceRankingDelegationResultListener
,ServiceRankingDelegationResultListener2
,ServiceRankingResultListener
,SwingIntermediateDefaultResultListener
,SwingIntermediateDelegationResultListener
,SwingIntermediateExceptionDelegationResultListener
,SwingIntermediateResultListener
,TerminableIntermediateDelegationResultListener
,TimeoutIntermediateResultListener
,UnlimitedIntermediateDelegationResultListener
public interface IIntermediateResultListener<E> extends IResultListener<java.util.Collection<E>>, IFunctionalIntermediateFinishedListener<E>, IFunctionalIntermediateResultListener<E>
Result listener with additional notifications in case of intermediate results.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
finished()
Declare that the future is finished.void
intermediateResultAvailable(E result)
Called when an intermediate result is available.-
Methods inherited from interface jadex.commons.future.IFunctionalExceptionListener
exceptionOccurred
-
Methods inherited from interface jadex.commons.future.IFunctionalResultListener
resultAvailable
-
-
-
-
Method Detail
-
intermediateResultAvailable
void intermediateResultAvailable(E result)
Called when an intermediate result is available.- Specified by:
intermediateResultAvailable
in interfaceIFunctionalIntermediateResultListener<E>
- Parameters:
result
- The result.
-
finished
void finished()
Declare that the future is finished. This method is only called for intermediate futures, i.e. when this method is called it is guaranteed that the intermediateResultAvailable method was called for all intermediate results before.- Specified by:
finished
in interfaceIFunctionalIntermediateFinishedListener<E>
-
-