Package jadex.commons.future
Class TerminableIntermediateDelegationResultListener<E>
- java.lang.Object
-
- jadex.commons.future.IntermediateDelegationResultListener<E>
-
- jadex.commons.future.TerminableIntermediateDelegationResultListener<E>
-
- All Implemented Interfaces:
IFunctionalExceptionListener
,IFunctionalIntermediateFinishedListener<E>
,IFunctionalIntermediateResultListener<E>
,IFunctionalResultListener<java.util.Collection<E>>
,IFutureCommandResultListener<java.util.Collection<E>>
,IIntermediateResultListener<E>
,IResultListener<java.util.Collection<E>>
,IUndoneIntermediateResultListener<E>
,IUndoneResultListener<java.util.Collection<E>>
- Direct Known Subclasses:
ServiceRankingDelegationResultListener
public class TerminableIntermediateDelegationResultListener<E> extends IntermediateDelegationResultListener<E>
Result listener for terminable intermediate futures. Requires the source and target as parameters and establishes their connection.
-
-
Field Summary
-
Fields inherited from class jadex.commons.future.IntermediateDelegationResultListener
customIntermediateResultListener, customResultListener, delegate, future, undone
-
-
Constructor Summary
Constructors Constructor Description TerminableIntermediateDelegationResultListener(TerminableIntermediateDelegationFuture<E> future, ITerminableIntermediateFuture<E> src)
Create a new listener.
-
Method Summary
-
Methods inherited from class jadex.commons.future.IntermediateDelegationResultListener
commandAvailable, customIntermediateResultAvailable, customResultAvailable, exceptionOccurred, exceptionOccurredIfUndone, finished, finishedIfUndone, handleException, intermediateResultAvailable, intermediateResultAvailableIfUndone, resultAvailable, resultAvailableIfUndone
-
-
-
-
Constructor Detail
-
TerminableIntermediateDelegationResultListener
public TerminableIntermediateDelegationResultListener(TerminableIntermediateDelegationFuture<E> future, ITerminableIntermediateFuture<E> src)
Create a new listener.- Parameters:
future
- The target future (to which is delegated).src
- The source future which is monitored.
-
-