Package jadex.commons.future
Interface IResultListener<E>
-
- All Known Subinterfaces:
IFutureCommandResultListener<E>
,IIntermediateFutureCommandResultListener<E>
,IIntermediateResultListener<E>
,IMultiplexCollector
,IRemoteResultListener<E>
,ITuple2ResultListener<E,F>
,IUndoneIntermediateResultListener<E>
,IUndoneResultListener<E>
- All Known Implementing Classes:
CollectingIntermediateResultListener
,CollectionResultListener
,ComponentResultListener
,CounterResultListener
,DecouplingInterceptor.CopyReturnValueResultListener
,DefaultResultListener
,DefaultTuple2ResultListener
,DelegationResultListener
,DuplicateRemovalIntermediateResultListener
,ExceptionDelegationResultListener
,ExceptionResultListener
,FlattenMultiplexCollector
,IntermediateComponentResultListener
,IntermediateDefaultResultListener
,IntermediateDelegationResultListener
,IntermediateEmptyResultListener
,IntermediateExceptionDelegationResultListener
,IntervalBehavior.StepResultListener
,MultiServiceInvocationHandler.IntermediateMethodResultListener
,PrePostConditionInterceptor.CheckReturnValueResultListener
,RemoteDelegationResultListener
,ServiceRankingDelegationResultListener
,ServiceRankingDelegationResultListener2
,ServiceRankingResultListener
,SwingDefaultResultListener
,SwingDelegationResultListener
,SwingExceptionDelegationResultListener
,SwingIntermediateDefaultResultListener
,SwingIntermediateDelegationResultListener
,SwingIntermediateExceptionDelegationResultListener
,SwingIntermediateResultListener
,SwingResultListener
,TimeoutIntermediateResultListener
,TimeoutResultListener
,TracingInterceptor.ReturnValueResultListener
,UnlimitedIntermediateDelegationResultListener
public interface IResultListener<E>
Callback interface for methods that should operate decoupled from caller thread.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
exceptionOccurred(java.lang.Exception exception)
Called when an exception occurred.void
resultAvailable(E result)
Called when the result is available.
-
-
-
Method Detail
-
resultAvailable
void resultAvailable(E result)
Called when the result is available.- Parameters:
result
- The result.
-
exceptionOccurred
void exceptionOccurred(java.lang.Exception exception)
Called when an exception occurred.- Parameters:
exception
- The exception.
-
-